<?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 LDAP syncs up 0 users and 0 groups - 3.3g on RHEL 5.5 in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ldap-syncs-up-0-users-and-0-groups-3-3g-on-rhel-5-5/m-p/231671#M184801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have LDAP working for authentication just fine, but I think my problem w/syncronization now lies in how I'm telling it to query LDAP.&amp;nbsp; I can see my principal user hitting the LDAP server.&amp;nbsp; It just feels like I don't quite have the queries right.&amp;nbsp; If anyone would have a look I'd be extremely grateful:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a very simple LDAP tree:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ou=People,dc=mydomain,dc=com — contains users (uid=…)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ou=groups,dc=mydomain,dc=com — contains groups&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the following set in alfresco:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;# The query to select all objects that represent the groups to import.&lt;BR /&gt;ldap.synchronization.groupQuery=(&amp;amp;(objectclass\=groups)(memberOf\=ou\=groups,dc\=mydomain,dc\=com)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;&lt;BR /&gt;# The query to select objects that represent the groups to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=groups)(memberOf\=ou\=groups,dc\=mydomain,dc\=com)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(modifyTimestamp&amp;lt;\={0})))&lt;BR /&gt;&lt;BR /&gt;# The query to select all objects that represent the users to import.&lt;BR /&gt;ldap.synchronization.personQuery=(&amp;amp;(objectclass\=People)(memberOf\=ou\=People,dc\=mydomain,dc\=com)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))&lt;BR /&gt;&lt;BR /&gt;# The query to select objects that represent the users to import that have changed since a certain time.&lt;BR /&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=People)(memberOf\=ou\=People,dc\=mydomain,dc\=com)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(modifyTimestamp&amp;lt;\={0})))&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following in my startup logs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;16:34:30,806 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Synchronizing users and groups with user registry 'ldap1'&lt;BR /&gt;16:34:30,809 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving all groups from user registry 'ldap1'&lt;BR /&gt;16:34:31,085 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 Group Analysis: Commencing batch of 0 entries&lt;BR /&gt;16:34:31,086 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 Group Analysis: Completed batch of 0 entries&lt;BR /&gt;16:34:31,089 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Retrieving all users from user registry 'ldap1'&lt;BR /&gt;16:34:31,102 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 User Creation and Association: Commencing batch of 0 entries&lt;BR /&gt;16:34:31,109 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] ldap1 User Creation and Association: Completed batch of 0 entries&lt;BR /&gt;16:34:31,109 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] Finished synchronizing users and groups with user registry 'ldap1'&lt;BR /&gt;16:34:31,109 User:System INFO&amp;nbsp; [security.sync.ChainingUserRegistrySynchronizer] 0 user(s) and 0 group(s) processed&lt;BR /&gt;16:34:31,122&amp;nbsp; INFO&amp;nbsp; [management.subsystems.ChildApplicationContextFactory] Startup of 'Synchronization' subsystem, ID: [Synchronization, default] complete&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jul 2010 20:49:51 GMT</pubDate>
    <dc:creator>jamied66</dc:creator>
    <dc:date>2010-07-26T20:49:51Z</dc:date>
    <item>
      <title>LDAP syncs up 0 users and 0 groups - 3.3g on RHEL 5.5</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-syncs-up-0-users-and-0-groups-3-3g-on-rhel-5-5/m-p/231671#M184801</link>
      <description>I have LDAP working for authentication just fine, but I think my problem w/syncronization now lies in how I'm telling it to query LDAP.&amp;nbsp; I can see my principal user hitting the LDAP server.&amp;nbsp; It just feels like I don't quite have the queries right.&amp;nbsp; If anyone would have a look I'd be extremely gratef</description>
      <pubDate>Mon, 26 Jul 2010 20:49:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-syncs-up-0-users-and-0-groups-3-3g-on-rhel-5-5/m-p/231671#M184801</guid>
      <dc:creator>jamied66</dc:creator>
      <dc:date>2010-07-26T20:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP syncs up 0 users and 0 groups - 3.3g on RHEL 5.5</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-syncs-up-0-users-and-0-groups-3-3g-on-rhel-5-5/m-p/231672#M184802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;An ou is an organizational unit, not a group, so you can't use memberof with it. You restrict the query to an ou using groupSearchBase and userSearchBase.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to find out what your group class is. Is it groupOfNames or groupOfUniqueNames?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then set the following parameters appropriately&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The group search base restricts the LDAP group query to a sub section of tree on the LDAP server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupSearchBase=ou\=groups,dc\=mydomain,dc\=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The user search base restricts the LDAP user query to a sub section of tree on the LDAP server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.userSearchBase=ou\=People,dc\=mydomain,dc\=com&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The query to select all objects that represent the groups to import.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupQuery=(objectclass\=groupOfNames)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The query to select objects that represent the groups to import that have changed since a certain time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=groupOfNames)(!(modifyTimestamp&amp;lt;\={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The query to select all objects that represent the users to import.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personQuery=(objectclass\=inetOrgPerson)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The query to select objects that represent the users to import that have changed since a certain time.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=inetOrgPerson)(!(modifyTimestamp&amp;lt;\={0})))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The group type in LDAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.groupType=groupOfNames&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# The person type in LDAP&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ldap.synchronization.personType=inetOrgPerson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 10:20:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-syncs-up-0-users-and-0-groups-3-3g-on-rhel-5-5/m-p/231672#M184802</guid>
      <dc:creator>dward</dc:creator>
      <dc:date>2010-07-27T10:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: LDAP syncs up 0 users and 0 groups - 3.3g on RHEL 5.5</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ldap-syncs-up-0-users-and-0-groups-3-3g-on-rhel-5-5/m-p/231673#M184803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks.&amp;nbsp; All of that sort of sunk in last night and I have synchronization working.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 17:58:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ldap-syncs-up-0-users-and-0-groups-3-3g-on-rhel-5-5/m-p/231673#M184803</guid>
      <dc:creator>jamied66</dc:creator>
      <dc:date>2010-07-27T17:58:30Z</dc:date>
    </item>
  </channel>
</rss>

