<?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 and people synchronisation not working in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24977#M12288</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;1.2.0 has an issue with groups that contain no member attributes ? which you have found. 1.2.1 fixes this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error occurs while extracting the ldap group information and before the xml file is constructed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two fixes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upgrade to 1.2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remove the groups that do not have members&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extend the ldap query so it does not find groups that do not have members ? as soon as they have members they will start to appear&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="groupQuery"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectclass=group)&amp;lt;/value&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/property&amp;gt; &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;SPAN&gt;becomes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="groupQuery"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(&amp;amp;(objectclass=group) (member=*))&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This should return groups that have members defined&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(member=*) is a presence filter that requires any value for the member attribute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(&amp;amp;()()) ?ands? multiple filters together&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 3 should be easiest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Apr 2006 08:36:20 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2006-04-21T08:36:20Z</dc:date>
    <item>
      <title>LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24957#M12268</link>
      <description>Hi Alfresco,We are trying to enable people (and group) synchronisation with LDAP. It's not working as expected, but you have probably guessed that by now. First we woul like to enable people synchronisation, group support will follow later but lets keep it as simple as possible for now.The configura</description>
      <pubDate>Mon, 10 Apr 2006 14:28:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24957#M12268</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-10T14:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24958#M12269</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;Can you turn on debug for org.alfresco.repo.security.authentication.ldap&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This will dump out what is transferred as it goes. (Somewhere like jakarta-tomcat-5.5.9\webapps\alfresco\WEB-INF\classes\log4j.xml )&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Was an xml fle created in the temp directory with the user info?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have Person objects without the attribute set as userIdAttributeName this could be the cause of your problems. This attribute has to exists and is used as the primary key. I will improve the error. The other attributes do not have to exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Apr 2006 15:55:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24958#M12269</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-10T15:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24959#M12270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Andy.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. We are using Alfresco Enterprise 1.2 but I don't find a log4j.xml, the only file I could find is the log4j.properties file in the same directory you proposed. This file doesn't have any LDAP references so should I just add this line somewhere in the log4j.properties file (the properties file has a different layout, nothing like an XML file)?! Is this a JBoss only setting and if so how do I specify this for Tomcat? I tried both lines but don't see any extra output at startup time:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.security.authentication.ldap=info&lt;BR /&gt;log4j.logger.org.alfresco.repo.security.authentication.ldap=info&lt;SPAN class="line-numbers-rows"&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;2. Which temp directory do you mean? I could not find any XML files in the Linux /tmp directory. Are there any other (Alfresco specific) temp directories where I should look?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The userIdAttributeName is mapped to the cn value in the ldap-authentication-context.xml file like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;property name="userIdAttributeName"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;lt;/property&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;The cn value exists in the LDAP (the userIdAttributeName value doesn't), would this be enough?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 07:08:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24959#M12270</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-11T07:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24960#M12271</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;Sorry, my fault on the logging file name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need debug level. It is all or nothing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It may not have got round to creating the temp file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In tomcat these are somewhere like C:\jakarta-tomcat-5.5.9\temp\Alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do ALL Person objects have the cn attribute? If one does not, it will fail.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 09:46:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24960#M12271</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-11T09:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24961#M12272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, the debug level solved that part of the problem. I got some new feedback in the log file by adding this line to the log4j.properties (Tomcat) file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;og4j.logger.org.alfresco.repo.security.authentication.ldap=debug&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;We restricted the searchBase property one more level and it works! It's not exactly what we would like but hey, we got some results today.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[img]&lt;/SPAN&gt;&lt;A href="http://www.zwookedu.net/fr/documentation/installerunserveurldapdetest/introduction/image/ldap_structure.gif" rel="nofollow noopener noreferrer"&gt;http://www.zwookedu.net/fr/documentation/installerunserveurldapdetest/introduction/image/ldap_structure.gif&lt;/A&gt;&lt;SPAN&gt;[/img]&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Image found on zwookedu.net&lt;/EM&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The searchBase was set to &lt;/SPAN&gt;&lt;EM&gt;eleves&lt;/EM&gt;&lt;SPAN&gt; (see image), this didn't work. The import did work when we restricted the searchBase to the &lt;/SPAN&gt;&lt;EM&gt;classe1&lt;/EM&gt;&lt;SPAN&gt; (an OU with no sub OU's): the XML file is build and imported, nice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;&lt;SPAN&gt;: We have multiple OU's on the same level: classe1 till classe4. It's not possible to import the classe1 AND classe2 accounts (but not the classe3 or 4 ones), the searchBase is to restrictive now. Lets say that classe3 and 4 contain external users that are not needed in the system. How could we solve this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 14:12:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24961#M12272</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-11T14:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24962#M12273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Define two jobs to import people, one restricted to classe1 and another restricted to classe2. The others will then be excluded.&amp;nbsp; There can be as many people import jobs as you need.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 15:18:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24962#M12273</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-11T15:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24963#M12274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That's great news, almost there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I defined a second job to import the other OU and it works perfect! People synchronization works like it should now. Thanks for the help Andy, we wouldn't have fixed this without your support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next in line: group synchronization… yes… I'm sorry.&amp;nbsp; :roll:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have a working group synchronization with OpenLDAP but the Active Directory setup won't work. Still need to tweak the configuration settings, I suppose there is something wrong with the parameter mapping.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, I'll get back to you when I don't find a way out but that'll be something for tomorrow.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 16:28:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24963#M12274</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-11T16:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24964#M12275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Andy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to define a second ldapInitialDirContextFactory? This would allow us to connect to a different LDAP server (AD and OpenLDAP). Theoretically this shouldn't be so different from defining multiple jobs in the ldap-authentication-context.xml file like multiple ldapPeopleExport sources, should it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This would solve our referral problem as well (see other &lt;/SPAN&gt;&lt;A href="http://forums.alfresco.com/viewtopic.php?t=1518" rel="nofollow noopener noreferrer"&gt;post&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or would this give some problems during authentication (which LDAP to use)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 07:26:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24964#M12275</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-12T07:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24965#M12276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can define mutiple ldapInitialDirContextFactories. Just give them different bean IDs. When you wire them up to anything pick the bean name for the configuration you want.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At the moment you can only have one authentication service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you use the new chaining implementation then I would expect you to define two LDAP authentication services, each with its own initial context bean. This will solve your problem, but not now. Authentication is only&amp;nbsp; able to use one LDAP server at the moment( ==&amp;gt; one config). At some point we will have domains and redirection based authentication.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 08:10:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24965#M12276</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-12T08:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24966#M12277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Perfect, another roadblock taken. I can now synchronize people information from multiple OU's in multiple LDAP's with different attributes, quite impressive.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Back to group synchronization. We build a small test LDAP with a scheme close to the one from the WIKI documentation to see how we should do this. We can now import groups from this LDAP (it's an OpenLDAP) in Alfresco. Our AD however has a somewhat more complicated structure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is an example of a group definition in our AD:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;# pmptech-list, Groups, User Accounts, company, be&lt;BR /&gt;dn: CN=pmptech-list,OU=Groups,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;objectClass: top&lt;BR /&gt;objectClass: group&lt;BR /&gt;cn: pmptech-list&lt;BR /&gt;description: DL PMPtech account responsibles&lt;BR /&gt;member: CN=user1,OU=Payroll,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;member: CN=user2,OU=Payroll,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;member: CN=user3,OU=Payroll,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;member: CN=user4,OU=Payroll,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;member: CN=user5,OU=Payroll,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;distinguishedName: CN=pmptech-list,OU=Groups,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;instanceType: 4&lt;BR /&gt;whenCreated: 20011121122819.0Z&lt;BR /&gt;whenChanged: 20050916053345.0Z&lt;BR /&gt;displayName: pmptech-list&lt;BR /&gt;uSNCreated: 27504&lt;BR /&gt;uSNChanged: 12094550&lt;BR /&gt;reportToOriginator: TRUE&lt;BR /&gt;proxyAddresses: MRS:pmptech-list@MRS&lt;BR /&gt;proxyAddresses: X400:c=BE;a= ;p=COMPANY;o=COMPANYsite;s=pmptech-list;&lt;BR /&gt;proxyAddresses: SMTP:pmptech-list@company.be&lt;BR /&gt;altRecipientBL: CN=pmptech,OU=Non-Personal,OU=User Accounts,DC=company,DC=be&lt;BR /&gt;extensionAttribute10: distribution list&lt;BR /&gt;mailNickname: pmptech-list&lt;BR /&gt;name: pmptech-list&lt;BR /&gt;objectGUID:: dqnJ9Vl7pU6WfYbpcpvvtw==&lt;BR /&gt;objectSid:: AQUAAAAAAAUVAAAA8RNXAE5+mlJOWu0JPSIAAA==&lt;BR /&gt;sAMAccountName: pmptech-list&lt;BR /&gt;sAMAccountType: 268435457&lt;BR /&gt;showInAddressBook: CN=Default Global Address List,CN=All Global Address Lists,&lt;BR /&gt; CN=Address Lists Container,CN=COMPANY,CN=Microsoft Exchange,CN=Services,CN=Confi&lt;BR /&gt; guration,DC=company,DC=be&lt;BR /&gt;showInAddressBook: CN=All Groups,CN=All Address Lists,CN=Address Lists Contain&lt;BR /&gt; er,CN=COMPANY,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=company,DC=be&lt;BR /&gt;showInAddressBook: CN=All COMPANY email addresses,CN=All Address Lists,CN=Address&lt;BR /&gt;&amp;nbsp; Lists Container,CN=COMPANY,CN=Microsoft Exchange,CN=Services,CN=Configuration,D&lt;BR /&gt; C=company,DC=be&lt;BR /&gt;showInAddressBook: CN=COMPANY distribution lists,CN=All Address Lists,CN=Address&lt;BR /&gt; Lists Container,CN=COMPANY,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC&lt;BR /&gt; =company,DC=be&lt;BR /&gt;legacyExchangeDN: /O=COMPANY/OU=COMPANYsite/cn=Recipients/cn=pmptech-list&lt;BR /&gt;groupType: 2&lt;BR /&gt;objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=company,DC=be&lt;BR /&gt;dSCorePropagationData: 20050218134851.0Z&lt;BR /&gt;dSCorePropagationData: 20050218134818.0Z&lt;BR /&gt;dSCorePropagationData: 16010101000417.0Z&lt;BR /&gt;textEncodedORAddress: c=BE;a= ;p=COMPANY;o=COMPANYsite;s=pmptech-list;&lt;BR /&gt;mail: pmptech-list@company.be&lt;BR /&gt;msExchALObjectVersion: 24&lt;BR /&gt;msExchPoliciesIncluded: {BE7E3E03-C4B9-4B33-9502-5271919F02B4},{26491CFC-9E50-&lt;BR /&gt; 4857-861B-0CB8DF22B5D7}&lt;BR /&gt;msExchPoliciesIncluded: {BE7E3E03-C4B9-4B33-9502-5271919F02B4},{3B6813EC-CE89-&lt;BR /&gt; 42BA-9442-D87D4AA30DBC}&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;/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;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;This is the configuration of the group import in the ldap-authentication-context.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="ldapGroupExportSource" class="org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="groupQuery"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectclass=group)&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="searchBase"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;ou=Groups,ou=User Accounts,dc=company,dc=be&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="userIdAttributeName"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="groupIdAttributeName"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;cn&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="groupType"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;group&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="personType"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;person&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="LDAPInitialDirContextFactory"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="ldapInitialDirContextFactory" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="namespaceService"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ref bean="namespaceService" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="memberAttribute"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;member&amp;lt;/value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/bean&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;/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;I get the same NullPointerException as above so I suppose there is some parameter mapping that's wrong. Debugging mode is on and no groups are imported.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The userIdAttributeName and groupIdAttributeName have the same value (cn), this bothers me. The person and group entries both use the cn as their primary key but they are defined in another OU. The WIKI example uses uid and cn but in our case there is no uid (in AD).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 09:48:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24966#M12277</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-12T09:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24967#M12278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There should be no issue pullling users and groups out of AD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In effect a group is the same as in OpenLDAP - an object with a repeating attribute that contains the DN to other groups or users. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The userIdAttributeName in group import should match that used in the import of People. So that is fine, except you have two sorts of people. It does not matter that users and groups use the same attribute for the primary key, so long as all users and groups have their primary key.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is possible there is trouble with groups defined across the two ldap servers. The group and people types will be different in each. If referral is working for queries you may have got into trouble.&amp;nbsp; You need a common supertype, but I have not looked to see what that would be. To get going I would suggest groups in the two ldap servers should be self contained, containing only groups and users from the same ldap server. Define two jobs to import groups and match these with the teo jobs to import people. I had not thought of your scenario where there is potential cross membership of groups and people…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;AD uses "user" as opposed to person. I can not recall if a user is a person. The sAMAccountName on user could be used as the uid in AD. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What are people going to type in at the login screen?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CN of inetOrgPerson/user or Full DN or (sAMAccountName/uid)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is your error exactly the same?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If so, you would seem to be having some error importing people again - someone who does not have the attribute identified by the userIdAttributeName key. May be you can exclude such entries in the query.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may be finding groups that do not have a cn attribute set?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope one of the above helps!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2006 12:08:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24967#M12278</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-12T12:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24968#M12279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It is possible there is trouble with groups defined across the two LDAP servers.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Indeed, this could be an issue but there is no connection to the second LDAP for the moment (we'll probably need cross membership of groups later on). We would like to fix group support with AD first. I removed the configuration settings to our OpenLDAP to keep it "simple". The AD groups contain "AD only" people so there shouldn't be any cross LDAP conflicts. Some of these groups contain people that aren't/shouldn't be imported in Alfresco, could this cause an error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;AD uses "user" as opposed to person.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;All our users are Person objects, even in AD so this shouldn't be the problem, should it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;What are people going to type in at the login screen?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;AD people will use the CN in the login screen but I don't see how this is related to the group import?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is your error exactly the same?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Yes, the error is exactly the same and no, importing people again is not a problem, this still works. The error (Job DEFAULT.ldapGroupJobDetail threw an unhandled Exception) is quite general so it could be something else.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You may be finding groups that do not have a CN attribute set?&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;I'm afraid not, all our groups have a CN attribute set so again… this should not cause the error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We tried to locate the problem yesterday and it could have something to do with the size limit of LDAP requests. Our request limit is 1000 for AD. We checked the people import and indeed, the last imported person is number 1000 (like half the entries that should be imported). We are now trying to solve this restriction to import the other people as well. This restriction doesn't throw an error, maybe you could add this as an extra test (seems important and one of those hard to find problems).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The same restriction applies for our group import but no single group is imported (as opposed to the people import). Some of our groups contain all our people (so again &amp;gt; 1000) and we have &amp;gt; 3000 groups at the moment. Could this have something to do with the "I don't import a single group but import the first 1000 people entries" problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For what it's worth: thanks again Andy!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 07:16:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24968#M12279</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-13T07:16:59Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24969#M12280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you send/post the stack trace for the group import error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is anything reported with debug on?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The limit should just mean you get an incomplete set. I had the same issue with OpenLDAP which limits to 500 by default. There may also be time limits on queries. If it takes too long it may give up and report nothing. I would check this. This could explain no groups.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check the queries/results/timings using an LDAP client (e.g softerra)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Person will be fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is nothing else I can think of ….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 08:23:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24969#M12280</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-13T08:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24970#M12281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is the alfresco.log for a Alfresco startup with people and group synchronisation against AD (no multiple LDAP's , or multiple jobs) with the&amp;nbsp; logging for org.alfresco.repo.security.authentication.ldap set to DEBUG:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;1:04:35,068 ERROR [org.alfresco.repo.content.transform.magick.AbstractImageMagickContentTransformer] ImageMagickContentTransformer not available: Failed to execute command: imconvert /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_source_52346.gif&amp;nbsp; /opt/alfresco/tomcat/temp/Alfresco/ImageMagickContentTransformer_init_target_52347.png&lt;BR /&gt;11:04:36,268 INFO&amp;nbsp; [org.alfresco.repo.admin.patch.PatchExecuter] Checking for patches to apply …&lt;BR /&gt;11:04:36,318 INFO&amp;nbsp; [org.alfresco.repo.admin.patch.PatchExecuter] No patches were required.&lt;BR /&gt;11:04:36,338 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP&lt;BR /&gt;11:04:36,338 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect &amp;lt;broadcast&amp;gt; setting)&lt;BR /&gt;11:04:36,348 ERROR [org.alfresco.smb.protocol] File server configuration error, Wrong authentication setup for alfresco authenticator&lt;BR /&gt;org.alfresco.error.AlfrescoRuntimeException: Wrong authentication setup for alfresco authenticator&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.filesys.server.config.ServerConfiguration.processSecurityConfig(ServerConfiguration.java:1570)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.filesys.server.config.ServerConfiguration.init(ServerConfiguration.java:492)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.filesys.server.config.ServerConfiguration.onApplicationEvent(ServerConfiguration.java:423)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardService.start(StandardService.java:450)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.Catalina.start(Catalina.java:536)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.reflect.Method.invoke(Method.java:585)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)&lt;BR /&gt;11:04:36,378 ERROR [org.alfresco.ftp.protocol] FTP Socket error&lt;BR /&gt;java.net.BindException: Address already in use&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.net.PlainSocketImpl.socketBind(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.net.ServerSocket.bind(ServerSocket.java:319)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.net.ServerSocket.&amp;lt;init&amp;gt;(ServerSocket.java:185)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.net.ServerSocket.&amp;lt;init&amp;gt;(ServerSocket.java:141)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.filesys.ftp.FTPNetworkServer.run(FTPNetworkServer.java:377)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.lang.Thread.run(Thread.java:595)&lt;BR /&gt;11:04:36,378 INFO&amp;nbsp; [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.5.0_06-b05; maximum heap size 455.125MB&lt;BR /&gt;11:04:36,378 WARN&amp;nbsp; [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 455.125MB is less than recommended 512MB&lt;BR /&gt;11:04:36,388 INFO&amp;nbsp; [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Enterprise Network): Current version 1.2.0 schema 6 - Installed version 1.1.2 schema 0&lt;BR /&gt;11:04:46,129 DEBUG [org.alfresco.repo.security.authentication.ldap.LDAPPersonExportSource] Adding user for accountA&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;/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;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;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;… importing the 998 other accounts …&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;11:05:12,241 DEBUG [org.alfresco.repo.security.authentication.ldap.LDAPPersonExportSource] Adding user for accountZ&lt;BR /&gt;11:05:25,881 ERROR [org.quartz.core.JobRunShell] Job DEFAULT.ldapGroupJobDetail threw an unhandled Exception: &lt;BR /&gt;org.alfresco.repo.importer.ExportSourceImporterException: Failed to import&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:165)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.importer.ImporterJob.execute(ImporterJob.java:36)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:191)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource.?(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource.generateExport(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:149)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 3 more&lt;BR /&gt;11:05:25,881 ERROR [org.quartz.core.ErrorLogger] Job (DEFAULT.ldapGroupJobDetail threw an exception.&lt;BR /&gt;org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.alfresco.repo.importer.ExportSourceImporterException: Failed to import]&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:202)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)&lt;BR /&gt;* Nested Exception (Underlying Cause) —————&lt;BR /&gt;org.alfresco.repo.importer.ExportSourceImporterException: Failed to import&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:165)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.importer.ImporterJob.execute(ImporterJob.java:36)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.core.JobRunShell.run(JobRunShell.java:191)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource.?(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.security.authentication.ldap.LDAPGroupExportSource.generateExport(Unknown Source)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;at org.alfresco.repo.importer.ExportSourceImporter.doImport(ExportSourceImporter.java:149)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;… 3 more&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;/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, 13 Apr 2006 09:13:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24970#M12281</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-13T09:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24971#M12282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you do not see the output from &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (s_logger.isDebugEnabled())&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; s_logger.debug("Found " + lookup.size());&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&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;The only possibilities I can see are:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Some property/bean is not wired in (but this looks OK)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) You have a group returned by the query with no attributes at all &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 10:09:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24971#M12282</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-13T10:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24972#M12283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You have a group returned by the query with no attributes at all&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;This would mean that the FIRST group that is imported would be empty. We would see at least one "Adding group…" message in the log file if this wasn't the case, wouldn't we?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is some traffic between Alfresco and AD when we run a tcpdump. This is the last package that is sent from AD to Alfresco, Alfresco doesn't reply on this package:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;16:44:45.260752 adserver.company.be.ldap &amp;gt; alfresco.53519: . [tcp sum ok] 913711:915159(1448) ack 115 win 65421 &amp;lt;nop,nop,timestamp 204894928 950577113&amp;gt; (DF) (ttl 128, id 41979, len 1500)&lt;BR /&gt;E…..@…+..g…g.X……!………."…….6r.8…jectCategory1….3.1CN=Group,CN=Schema,CN=Configuration,DC=company,DC=be0….V..dSCorePropagationData1….9..20050218134851.0Z..20050218134818.0Z..16010101000417.0Z0……..d……3&lt;BR /&gt;CN=accountX,OU=Groups,OU=User.Accounts,DC=company,DC=be0…..0…….objectClass1…….top..group0…….cn1…….accountX0….:..description1….'.%Contract.account:.Anil.SurenameXl0…….member1….q.8CN=accountY,OU=Non-Personal,&lt;BR /&gt;OU=User.Accounts,DC=company,DC=be.5CN=accountZ,OU=Payroll,OU=User.Accounts,DC=company,DC=be0….N..distinguishedName1….5.3CN=accountY,OU=Groups,OU=User.Accounts,DC=company,DC=be0…….instanceType1…….40….&amp;amp;..&lt;BR /&gt;whenCreated1…….20020419075041.0Z0….&amp;amp;..whenChanged1…….20050215111125.0Z0…….uSNCreated1…….263980…….uSNChanged1…….263980….+..extensionAttribute101…….project.group0…….name1…….accountY0….$..objectGUID1…….&lt;BR /&gt;e…3..C."3m,.@.0…./..objectSid1…………………W.N~.RNZ..B$..0…….sAMAccountName1…….accountY0….!..sAMAccountType1…….2684354560…….groupType1…….-21474836460….I..objectCategory1….3.1CN=Group,CN=Schema,&lt;BR /&gt;CN=Configuration,DC=company,DC=be0….V..dSCorePropagationData1….9..20050218134851.0Z..20050218134818.0Z..16010101000417.0Z0……..d……1CN=accountW,OU=Groups,OU=User.Accounts,DC=company,DC=be0…..0…….&lt;BR /&gt;objectClass1…….top..group0…….cn1…….glcos0….7..description1….$."Activity.account:.Johan.SurenameW0….F..member1….8.6CN=accountV,OU=Non-Persona&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;Packages are not the nicest to read but the end seems interessting. Why is the Non-Persona&lt;/SPAN&gt;&lt;STRONG&gt;L&lt;/STRONG&gt;&lt;SPAN&gt; string not finished. Could this be some timeout? Seems to me that the last package is not finished completly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I still think there is something wrong with the configuration parameters for groups but can't figure out what exactly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;org.alfresco.repo.importer.ExportSourceImporterException: Failed to import&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;What does this mean? Failed to import the XML file? This would be normal, there is no group XML file (the file is 0 bytes) so importing won't be easy. Why isn't there an error while Alfresco exports the information from AD?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 10:35:03 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24972#M12283</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-13T10:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24973#M12284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Simon&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The debug for group import reports most of its info during the structure build. At the start it just reports the number for groups obtained.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Stuff is pulled from LDAP on demand, as I understand it. You probably have enough info to answer the next question ….the next packet …that is never requested… would continue from where this one leaves off…..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.importer.ExportSourceImporterException: Failed to import&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the containing Exception for the null pointer exception.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is normal if anything goes wrong at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There was an issue dealing with groups that had no member attributes. This is fixed but I can not recall exactly when it went in. I think this is the most likely cause of your issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 11:37:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24973#M12284</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-13T11:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24974#M12285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Good news&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp; Andy!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I created an empty group in our OpenLDAP server and tried to import the groups, it failed like usual. Getting used to the error message by now…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I remove the empty group and restart the job everything works fine. Your last remark solved it, empty groups are not allowed in the Enterprise 1.2 version. So it should be solved in the next release?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can't do the test with our (corporate) AD, the empty groups are used for security purposes so we'll need the fix. Let's hope this was the only problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your continuing support!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Apr 2006 15:55:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24974#M12285</guid>
      <dc:creator>simon</dc:creator>
      <dc:date>2006-04-13T15:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24975#M12286</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;1.2.0 has an issue with groups that contain no member attributes ? which you have found. 1.2.1 fixes this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error occurs while extracting the ldap group information and before the xml file is constructed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two fixes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upgrade to 1.2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remove the groups that do not have members&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extend the ldap query so it does not find groups that do not have members ? as soon as they have members they will start to appear&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="groupQuery"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectclass=group)&amp;lt;/value&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/property&amp;gt; &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;SPAN&gt;becomes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="groupQuery"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(&amp;amp;(objectclass=group) (member=*))&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This should return groups that have members defined&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(member=*) is a presence filter that requires any value for the member attribute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(&amp;amp;()()) ?ands? multiple filters together&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 3 should be easiest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 08:34:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24975#M12286</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-21T08:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP and people synchronisation not working</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24976#M12287</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;1.2.0 has an issue with groups that contain no member attributes ? which you have found. 1.2.1 fixes this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error occurs while extracting the ldap group information and before the xml file is constructed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are two fixes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Upgrade to 1.2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Remove the groups that do not have members&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Extend the ldap query so it does not find groups that do not have members ? as soon as they have members they will start to appear&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="groupQuery"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(objectclass=group)&amp;lt;/value&amp;gt;&lt;BR /&gt;&lt;BR /&gt; &amp;lt;/property&amp;gt; &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;SPAN&gt;becomes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;property name="groupQuery"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;(&amp;amp;(objectclass=group) (member=*))&amp;lt;/value&amp;gt;&lt;BR /&gt; &amp;lt;/property&amp;gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;This should return groups that have members defined&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(member=*) is a presence filter that requires any value for the member attribute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(&amp;amp;()()) ?ands? multiple filters together&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Option 3 should be easiest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Apr 2006 08:34:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-and-people-synchronisation-not-working/m-p/24976#M12287</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2006-04-21T08:34:44Z</dc:date>
    </item>
  </channel>
</rss>

