<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: LDAP Auth issue with openLDAP in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22851#M9944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the following configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad&lt;BR /&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.allowGuestLogin=true&lt;BR /&gt;ldap.authentication.userNameFormat=%s@example.foo&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://example.foo:389&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=Administrator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=administrator@example.foo&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=Alfr3sc0&lt;BR /&gt;ldap.synchronization.queryBatchSize=1000&lt;BR /&gt;ldap.synchronization.attributeBatchSize=1000&lt;BR /&gt;synchronization.synchronizeChangesOnly=false&lt;BR /&gt;synchronization.allowDeletions=true&lt;BR /&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.groupQuery=objectclass\=group&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(!(modifyTimestamp&amp;lt;\={0})))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(|(memberOf=cn\=AlfrescoAdmins,ou=alfresco,dc=example,dc=foo)(memberOf=cn\=AlfrescoUsers,ou=alfresco,dc=example,dc=foo)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(|(memberOf=cn\=AlfrescoAdmins,ou=alfresco,dc=example,dc=foo)(memberOf=cn\=AlfrescoUsers,ou=alfresco,dc=example,dc=foo))(!(modifyTimestamp&amp;lt;\={0})))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.groupSearchBase=ou\=alfresco,dc\=example,dc\=foo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.userSearchBase=dc\=example,dc\=foo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;BR /&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;BR /&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;BR /&gt;ldap.synchronization.userEmailAttributeName=mail&lt;BR /&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;BR /&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=cn&lt;BR /&gt;ldap.synchronization.groupDisplayNameAttributeName=displayName&lt;BR /&gt;ldap.synchronization.groupType=group&lt;BR /&gt;ldap.synchronization.personType=user&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=member&lt;BR /&gt;ldap.synchronization.enableProgressEstimation=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Dec 2017 08:16:16 GMT</pubDate>
    <dc:creator>amitkulhari26</dc:creator>
    <dc:date>2017-12-20T08:16:16Z</dc:date>
    <item>
      <title>LDAP Auth issue with openLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22850#M9943</link>
      <description>LDAP Auth issueHi, im having an issue with LDAP on a new install.I am copying my ldap auth file to see if I can get some help# User name format ..ldap.authentication.active=trueldap.authentication.userNameFormat=uid=%s,ou=users,dc=usswhitebuffalo,dc=org, # IP address or name of your LDAP server - (p</description>
      <pubDate>Tue, 19 Dec 2017 07:00:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22850#M9943</guid>
      <dc:creator>anwoke8204</dc:creator>
      <dc:date>2017-12-19T07:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Auth issue with openLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22851#M9944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer the following configurations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad&lt;BR /&gt;ldap.authentication.active=true&lt;BR /&gt;ldap.authentication.allowGuestLogin=true&lt;BR /&gt;ldap.authentication.userNameFormat=%s@example.foo&lt;BR /&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://example.foo:389&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;BR /&gt;ldap.authentication.escapeCommasInBind=false&lt;BR /&gt;ldap.authentication.escapeCommasInUid=false&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=Administrator&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.active=true&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=administrator@example.foo&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=Alfr3sc0&lt;BR /&gt;ldap.synchronization.queryBatchSize=1000&lt;BR /&gt;ldap.synchronization.attributeBatchSize=1000&lt;BR /&gt;synchronization.synchronizeChangesOnly=false&lt;BR /&gt;synchronization.allowDeletions=true&lt;BR /&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.groupQuery=objectclass\=group&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(!(modifyTimestamp&amp;lt;\={0})))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(|(memberOf=cn\=AlfrescoAdmins,ou=alfresco,dc=example,dc=foo)(memberOf=cn\=AlfrescoUsers,ou=alfresco,dc=example,dc=foo)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(|(memberOf=cn\=AlfrescoAdmins,ou=alfresco,dc=example,dc=foo)(memberOf=cn\=AlfrescoUsers,ou=alfresco,dc=example,dc=foo))(!(modifyTimestamp&amp;lt;\={0})))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.groupSearchBase=ou\=alfresco,dc\=example,dc\=foo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.userSearchBase=dc\=example,dc\=foo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;BR /&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;BR /&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;BR /&gt;ldap.synchronization.userEmailAttributeName=mail&lt;BR /&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;BR /&gt;ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=cn&lt;BR /&gt;ldap.synchronization.groupDisplayNameAttributeName=displayName&lt;BR /&gt;ldap.synchronization.groupType=group&lt;BR /&gt;ldap.synchronization.personType=user&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=member&lt;BR /&gt;ldap.synchronization.enableProgressEstimation=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 08:16:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22851#M9944</guid>
      <dc:creator>amitkulhari26</dc:creator>
      <dc:date>2017-12-20T08:16:16Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Auth issue with openLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22852#M9945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try following configuration:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;ldap-authentication.properties&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;ldap.authentication.active=true&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# Base DN containing users&lt;/P&gt;&lt;P&gt;ldap.authentication.userNameFormat=uid=%s,ou=users,dc=usswhitebuffalo,dc=org&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The URL to connect to the LDAP server&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://myip:389&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The authentication mechanism to use&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=simple&lt;/P&gt;&lt;P&gt;ldap.synchronization.active=true&lt;/P&gt;&lt;P&gt;ldap.synchronization.java.naming.security.principal=cn\=admin,dc\=usswhitebuffalo,dc\=org&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=***********&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The query to select all objects that represent the groups to import.&lt;BR /&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass\=groupOfNames)(cn=share))&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# The query to select objects that represent the groups to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=groupOfNames)(!(modifyTimestamp&amp;lt;\={0})))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The query to select all objects that represent the users to import.&lt;BR /&gt;ldap.synchronization.personQuery=(objectclass\=inetOrgPerson)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The query to select objects that represent the users to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=inetOrgPerson)(!(modifyTimestamp&amp;lt;\={0})))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The group search base restricts the LDAP group query to a sub section of tree on the LDAP server.&lt;BR /&gt;ldap.synchronization.groupSearchBase=ou\=groups,dc\=usswhitebuffalo,dc\=org&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The user search base restricts the LDAP user query to a sub section of tree on the LDAP server.&lt;BR /&gt;ldap.synchronization.userSearchBase=ou\=users,dc\=usswhitebuffalo,dc\=org&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The name of the operational attribute recording the last update time for a group or user.&lt;BR /&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The timestamp format. Unfortunately, this varies between directory servers.&lt;BR /&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'Z'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute name on people objects found in LDAP to use as the uid in Alfresco&lt;BR /&gt;ldap.synchronization.userIdAttributeName=uid&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute on person objects in LDAP to map to the first name property in Alfresco&lt;BR /&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute on person objects in LDAP to map to the last name property in Alfresco&lt;BR /&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute on person objects in LDAP to map to the email property in Alfresco&lt;BR /&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute on person objects in LDAP to map to the organizational id property in Alfresco&lt;BR /&gt;ldap.synchronization.userOrganizationalIdAttributeName=o&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The default home folder provider to use for people created via LDAP import&lt;BR /&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute on LDAP group objects to map to the gid property in Alfrecso&lt;BR /&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The group type in LDAP&lt;BR /&gt;ldap.synchronization.groupType=groupOfNames&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The person type in LDAP&lt;BR /&gt;ldap.synchronization.personType=inetOrgPerson&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;# The attribute in LDAP on group objects that defines the DN for its members&lt;BR /&gt;ldap.synchronization.groupMemberAttributeName=member&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE class="j-table jiveBorder" style="border: 1px solid #c6c6c6;" width="100%"&gt;&lt;THEAD&gt;&lt;TR style="background-color: #efefef;"&gt;&lt;TH&gt;alfresco-global.properties&lt;/TH&gt;&lt;/TR&gt;&lt;/THEAD&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;ldap.enabled=true&lt;BR /&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pradip patel&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.enprowess.com" rel="nofollow noopener noreferrer"&gt;Enprowess Technologies&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 09:45:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22852#M9945</guid>
      <dc:creator>pradip</dc:creator>
      <dc:date>2017-12-21T09:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Auth issue with openLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22853#M9946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pradip after copying your settings but setting the correct ip and password I am getting the following error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2017-12-21 23:43:55,157 INFO [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronizing users and groups with user registry 'ldap1'&lt;BR /&gt; 2017-12-21 23:43:55,306 INFO [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Retrieving all groups from user registry 'ldap1'&lt;BR /&gt; 2017-12-21 23:46:02,699 ERROR [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error&lt;BR /&gt; org.alfresco.repo.security.authentication.AuthenticationException: 11210018 Failed to communicate with ldap://openldap.domain.com:389. Reason javax.naming.CommunicationException, openldap.domain.com:389, java.net.ConnectException, Connection timed out (Connection timed out)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its like its not even trying to connect on the correct ip, and just defaulting to ldap://openldap.domain.com:389.&amp;nbsp; I have double checked and I have the correct IP address and password set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 06:48:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22853#M9946</guid>
      <dc:creator>anwoke8204</dc:creator>
      <dc:date>2017-12-22T06:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP Auth issue with openLDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22854#M9947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, what I ended up having to do was put the config in my alfresco global properties file, and now users can authenicate using LDAP.&amp;nbsp; however users who are not part of the Share group are also able to log in, and I need it so that only users who are part of the share group should be able to log in.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 20:48:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/ldap-auth-issue-with-openldap/m-p/22854#M9947</guid>
      <dc:creator>anwoke8204</dc:creator>
      <dc:date>2017-12-22T20:48:30Z</dc:date>
    </item>
  </channel>
</rss>

