<?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 Active Directory LDAP Sync in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/active-directory-ldap-sync/m-p/243107#M196237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;G'day,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've setup Alfresco 3.2 with passthru authentication easily enough, however what I'm banging my head on is AD synchronization.&amp;nbsp; This setup is on a Win2k3 server and trying to authorize to a Win2k3 domain controller.&amp;nbsp; Global config file as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,passthru1:passthru,ldap-ad:ldap1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ntlm.authentication.sso.enabled=true&lt;BR /&gt;passthru.authentication.authenticateCIFS=true&lt;BR /&gt;&lt;BR /&gt;passthru.authentication.domain=DOMAIN&lt;BR /&gt;passthru.authentication.servers=server1,server2&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.active=false&lt;BR /&gt;ldap.synchronization.active=true&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.userNameFormat=%s@domain.com&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://server1:389&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=administrator,myaccount&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=serviceaccount@domain.com&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=&amp;lt;secret&amp;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;/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;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;What seems to be happening is I'm getting a login failed error in the log, as such:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;18:21:48,819 INFO&amp;nbsp; [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, passthru1]&lt;BR /&gt;18:21:48,866 INFO&amp;nbsp; [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]&lt;BR /&gt;18:21:48,960 INFO&amp;nbsp; [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, passthru1] complete&lt;BR /&gt;18:21:48,976 INFO&amp;nbsp; [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Starting 'Authentication' subsystem, ID: [managed, ldap-ad]&lt;BR /&gt;18:21:49,007 INFO&amp;nbsp; [org.alfresco.config.JndiPropertyPlaceholderConfigurer] Loading properties file from class path resource [alfresco/alfresco-shared.properties]&lt;BR /&gt;18:21:49,007 INFO&amp;nbsp; [org.alfresco.repo.management.subsystems.ChildApplicationContextFactory] Startup of 'Authentication' subsystem, ID: [managed, ldap-ad] complete&lt;BR /&gt;18:25:32,491 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 06240087 Login failed&lt;BR /&gt;org.alfresco.web.scripts.WebScriptException: 06240087 Login failed&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;SPAN&gt;Any ideas as to what might be causing this?&amp;nbsp; I'm seeing network traffic on a packet capture talking to the DC, but that's it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jul 2009 01:42:02 GMT</pubDate>
    <dc:creator>daveram</dc:creator>
    <dc:date>2009-07-25T01:42:02Z</dc:date>
    <item>
      <title>Active Directory LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/active-directory-ldap-sync/m-p/243107#M196237</link>
      <description>G'day,I've setup Alfresco 3.2 with passthru authentication easily enough, however what I'm banging my head on is AD synchronization.&amp;nbsp; This setup is on a Win2k3 server and trying to authorize to a Win2k3 domain controller.&amp;nbsp; Global config file as follows:authentication.chain=alfrescoNtlm1:alfrescoNtlm</description>
      <pubDate>Sat, 25 Jul 2009 01:42:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/active-directory-ldap-sync/m-p/243107#M196237</guid>
      <dc:creator>daveram</dc:creator>
      <dc:date>2009-07-25T01:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/active-directory-ldap-sync/m-p/243108#M196238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In my experience your config shouldn't work for passthru since alfrescoNtlm and passthru shouldn't be enabled to provide sso at the same time (which is what you setup). So while your CIFS auth might work in this example, I doubt that you can succesfully login to /alfresco webapp with your AD credentials using passthru because in your case sso auth is handled by alfrescoNtlm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to acquire the 14.07.2009. nightly build of Alfresco to get the version with working extensions/classpaths. And then you need to define separate configuration for different instances of your Authentication subsystem as per &lt;/SPAN&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Subsystems#Configuring_Subsystems" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Subsystems#Configuring_Subsystems&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This was recently explained to me so search for my posts on this forum, and you can also find the link to the build in the discussion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for&amp;nbsp; need to provide search base additional to what you provided. Here is my $TOMCAT_HOME/shared/classes/alfresco/extensions/subsystems/Authentication/ldap-ad/ldap-ad1/ldap-ad.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;ldap.authentication.userNameFormat=%s@&amp;lt;myDomain.tld&amp;gt;&lt;BR /&gt;ldap.authentication.java.naming.provider.url=ldap://&amp;lt;myDC'sFQDN&amp;gt;:389&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.defaultAdministratorUserNames=administrator,&amp;lt;me&amp;gt;&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.java.naming.security.principal=administrator@&amp;lt;myDomain.tld&amp;gt;&lt;BR /&gt;ldap.synchronization.java.naming.security.credentials=&amp;lt;password&amp;gt;&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.java.naming.security.authentication=SIMPLE&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.userSearchBase=ou=&amp;lt;OUcontainingUsers&amp;gt;,dc=&amp;lt;myDomain&amp;gt;,dc=&amp;lt;tld&amp;gt;&lt;BR /&gt;&lt;BR /&gt;ldap.synchronization.groupSearchBase=ou=&amp;lt;OUcontainingUsers&amp;gt;,dc=&amp;lt;myDomain&amp;gt;,dc=&amp;lt;tld&amp;gt;&lt;BR /&gt;&lt;BR /&gt;ldap.authentication.allowGuestLogin=true&lt;BR /&gt;synchronization.synchronizeChangesOnly=false&lt;BR /&gt;synchronization.syncWhenMissingPeopleLogIn=true&lt;BR /&gt;synchronization.autoCreatePeopleOnLogin=true&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;/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;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, 30 Jul 2009 06:44:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/active-directory-ldap-sync/m-p/243108#M196238</guid>
      <dc:creator>bmarkovic</dc:creator>
      <dc:date>2009-07-30T06:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Active Directory LDAP Sync</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/active-directory-ldap-sync/m-p/243109#M196239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It also looks like the line&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;authentication.chain=alfrescoNtlm1:alfrescoNtlm,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,ldap-ad:ldap1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is wrong. Make it "ldap1:ldap-ad" instead.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 14:03:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/active-directory-ldap-sync/m-p/243109#M196239</guid>
      <dc:creator>ipeters</dc:creator>
      <dc:date>2009-08-12T14:03:28Z</dc:date>
    </item>
  </channel>
</rss>

