<?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-ad sync problem in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246832#M199962</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems like your first error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;2015-12-24 00:23:52,504 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error&lt;BR /&gt;org.alfresco.error.AlfrescoRuntimeException: 11240001 Error during LDAP Search. Reason:org:389&lt;BR /&gt;&lt;BR /&gt;Caused by: javax.naming.CommunicationException: org:389 [Root exception is java.net.UnknownHostException: org]&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case it's a hostname/DNS lookup issue, have you tried using an IP address rather than the FQDN here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://SVR-001-DC01.HELPME.org:389&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Dec 2015 07:31:25 GMT</pubDate>
    <dc:creator>xarope</dc:creator>
    <dc:date>2015-12-24T07:31:25Z</dc:date>
    <item>
      <title>ldap-ad sync problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246829#M199959</link>
      <description>I'm trying for a week now to configure alfresco authentication e sync to AD. I only can authenticate users by now. I can't figure out way sync does not work… allways tells me "Synchronization aborted due to error 05170000 Unable to connect to LDAP Server; check LDAP configuration"ldap-ad-authenticat</description>
      <pubDate>Fri, 17 Jun 2011 13:51:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246829#M199959</guid>
      <dc:creator>jjscampos</dc:creator>
      <dc:date>2011-06-17T13:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad sync problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246830#M199960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having the same problem and I also can't sync the users, when I try to login into alfresco, it shows that the user is Unable to login - unknown username/password.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've changed the properties according to the documentation, but it just don't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know what could be wrong??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;valter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jul 2012 15:19:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246830#M199960</guid>
      <dc:creator>valter_85</dc:creator>
      <dc:date>2012-07-20T15:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad sync problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246831#M199961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hopefully someone will see this and offer some help, since it tells me I cannot start my own thread.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically, using the 5.0 build, I can't seem to get LDAP Sync or Passthru to work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be authenticating users from AD, but no info syncs, and the error in the log is not very helpful.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've done a lot of searches thru the forms, and the biggest issue I'm finding is that there's seems to be no one single 'How-To' for AD. I find suggestions that offer suggestions in direct conflict with other's directions, or are done in what seems to be a completely different manner, and the bulk of the results of my searches are for older versions, and not 5.x&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's my global config, covering the entire Auth configuration. I've substituted the domain HELPME for my actual domain. I realize this looks very bloated, but this is putting together everyone's suggestion for why it's not working, as found in other's posts asking for help:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#Authentication settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap1:ldap,passthru1&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;assthru&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ntlm.authentication.sso.enabled=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;### CIFS/SMB Server Configuration ###&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cifs.enabled=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cifs.domain=ld.local&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cifs.serverName=${localname}A&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cifs.hostannounce=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#CIFS with LDAP We have to use passthru for CIFS due to limitations in how cifs has to authenticate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ntlm.authentication.authenticateCIFS=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#Must be disabled to allow chained password-based login&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ntlm.authentication.sso.enabled=false &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;alfresco.authentication.authenticateCIFS=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#alfresco.authentication.allowGuestLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.authenticateCIFS=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.useLocalServer=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.domain=HELPME.org&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.guestAccess=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.defaultAdministratorUserNames=admin,administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.connectTimeout=5000&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.offlineCheckInterval=300&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.protocolOrder=TCPIP,NETBIOS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.servers=HELPME.org\\SVR-001-DC01,HELPME.org\\SVR-002-DC01,SVR-003-DC01&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;passthru.authentication.offlineCheckInterval=300&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#LDAP authentication&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.userNameFormat=cn=%s,ou=facilities,ou=users,dc=HELPME,dc=org&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.authentication=SIMPLE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.principal=cn=alfresco,dc=HELPME,dc=org&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.security.credentials=APassword&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInBind=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.escapeCommasInUid=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.allowGuestLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="https://migration33.stage.lithium.com/" rel="nofollow noopener noreferrer"&gt;ldap.authentication.userNameFormat=%s@HELPME.org&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.java.naming.provider.url=ldap://SVR-001-DC01.HELPME.org:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.defaultAdministratorUserNames=admin,administrator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.authentication.active=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.active=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:ldap.synchronization.java.naming.security.principal=alfresco@HELPME.Org" rel="nofollow noopener noreferrer"&gt;ldap.synchronization.java.naming.security.principal=alfresco@HELPME.Org&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.java.naming.security.credentials=APassword&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=OU=Security_Groups,OU=HELPME,DC=Org&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=OU=Facilities,OU=Users,DC=HELPME,DC=Org&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userIdAttributeName=sAMAccountName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userFirstNameAttributeName=givenName&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userLastNameAttributeName=sn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userEmailAttributeName=mail&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userOrganizationalIdAttributeName=company&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupIdAttributeName=cn&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupType=group&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupMemberAttributeName=member&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.synchronizeChangesOnly=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncOnStartup=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;synchronization.autoCreatePeopleOnLogin=false&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have verified that the AD/LDAP account 'alfresco' can read/view any user in AD using the tool Softerra LDAP Browser 4.5, and the account can fully roam the AD. It is a member of 'Domain Users' only.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When the app is started, I'm presented with the login prompt, so Passthru isn't working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can enter my AD ID/PW and it does log me in, but all profile info is blank, and of course it shows my login ID and not my common name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the error / reason in the log when AD Sync tries to kick in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-12-24 00:23:52,504 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.error.AlfrescoRuntimeException: 11240001 Error during LDAP Search. Reason&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.naming.CommunicationException: org:389 [Root exception is java.net.UnknownHostException: org]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.net.UnknownHostException: org&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-12-24 00:23:52,692 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.error.AlfrescoRuntimeException: 11240001 Error during LDAP Search. Reason&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.naming.CommunicationException: org:389 [Root exception is java.net.UnknownHostException: org]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.net.UnknownHostException: org&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-12-24 00:23:52,692 WARN&amp;nbsp; [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Failed initial synchronize with user registries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.error.AlfrescoRuntimeException: 11240001 Error during LDAP Search. Reason&lt;img id="smileysurprised" class="emoticon emoticon-smileysurprised" src="https://connect.hyland.com/i/smilies/16x16_smiley-surprised.png" alt="Smiley Surprised" title="Smiley Surprised" /&gt;rg:389&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: javax.naming.CommunicationException: org:389 [Root exception is java.net.UnknownHostException: org]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: java.net.UnknownHostException: org&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2015-12-24 00:23:52,692 INFO&amp;nbsp; [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] [localhost-startStop-1] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Dec 2015 18:49:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246831#M199961</guid>
      <dc:creator>dgcupit</dc:creator>
      <dc:date>2015-12-23T18:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad sync problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246832#M199962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Seems like your first error is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;2015-12-24 00:23:52,504 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error&lt;BR /&gt;org.alfresco.error.AlfrescoRuntimeException: 11240001 Error during LDAP Search. Reason:org:389&lt;BR /&gt;&lt;BR /&gt;Caused by: javax.naming.CommunicationException: org:389 [Root exception is java.net.UnknownHostException: org]&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In case it's a hostname/DNS lookup issue, have you tried using an IP address rather than the FQDN here?&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://SVR-001-DC01.HELPME.org:389&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 07:31:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246832#M199962</guid>
      <dc:creator>xarope</dc:creator>
      <dc:date>2015-12-24T07:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad sync problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246833#M199963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;jjscampos, your filter looks like it's missing a closing ")", as well as the "\" to escape the "="&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass=user)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And assuming you intentionally want to leave out the clause which excludes AD users who are not active, then you can/should remove the remaining "&amp;amp;". So it should just look like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.synchronization.personQuery=(objectclass\=user)&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 07:43:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246833#M199963</guid>
      <dc:creator>xarope</dc:creator>
      <dc:date>2015-12-24T07:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: ldap-ad sync problem</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246834#M199964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;dgcupit, your error seems to be "UnknownHostException":&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;2015-12-24 00:23:52,504 ERROR [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization aborted due to error&lt;BR /&gt;org.alfresco.error.AlfrescoRuntimeException: 11240001 Error during LDAP Search. Reason:org:389&lt;BR /&gt;&lt;BR /&gt;Caused by: javax.naming.CommunicationException: org:389 [Root exception is java.net.UnknownHostException: org]&lt;BR /&gt;&lt;BR /&gt;Caused by: java.net.UnknownHostException: org&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you tried using an IP address here, in case it's a hostname/DNS lookup issue?&amp;nbsp; e.g. if the IP for your LDAP server is 10.10.10.1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://10.10.10.1:389&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2015 07:46:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-ad-sync-problem/m-p/246834#M199964</guid>
      <dc:creator>xarope</dc:creator>
      <dc:date>2015-12-24T07:46:08Z</dc:date>
    </item>
  </channel>
</rss>

