<?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: Sync all the active users of LDAP in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88503#M26586</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/23438"&gt;@heiko_robert&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have verified that all the users are part of&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;dc\=XYZ,dc\=IN&lt;/PRE&gt;&lt;P&gt;In the ldap more than 15000 active users are there, but in admin-console --&amp;gt; users section, when i search with *, it provides max. 5000 results.&lt;BR /&gt;&lt;BR /&gt;How to view all the active users list?&lt;BR /&gt;During individual search, I can't get result for many users.&lt;/P&gt;&lt;P&gt;Is there any other configuration required?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hardik&lt;/P&gt;</description>
    <pubDate>Sun, 30 Aug 2020 08:41:54 GMT</pubDate>
    <dc:creator>hardik_thakkar</dc:creator>
    <dc:date>2020-08-30T08:41:54Z</dc:date>
    <item>
      <title>Sync all the active users of LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88500#M26583</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have configured LDAP using below properties:&lt;/P&gt;&lt;PRE&gt;### Ldap : Synchronization  ###
ldap.synchronization.active=true

######  LDAP configuration  ############
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad
ldap.authentication.active=true
ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=%s@xyz.in
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://&amp;lt;ip adress&amp;gt;:389
ldap.authentication.java.naming.security.authentication=simple
ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false
ldap.authentication.defaultAdministratorUserNames=Administrator
synchronization.syncOnStartup=true
ldap.synchronization.active=true
ldap.synchronization.java.naming.security.principal=username
ldap.synchronization.java.naming.security.credentials=password
ldap.synchronization.queryBatchSize=1000
ldap.synchronization.attributeBatchSize=1000
synchronization.synchronizeChangesOnly=true
synchronization.allowDeletions=true
synchronization.syncWhenMissingPeopleLogIn=true

ldap.synchronization.groupQuery=objectclass\=group
ldap.synchronization.groupDifferentialQuery=(&amp;amp;(objectclass\=group)(!(modifyTimestamp&amp;lt;\={0})))

ldap.synchronization.personQuery=objectclass\=user
ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(!(modifyTimestamp&amp;lt;\={0})))

ldap.synchronization.groupSearchBase=dc\=XYZ,dc\=IN

ldap.synchronization.userSearchBase=dc\=XYZ,dc\=IN


ldap.synchronization.modifyTimestampAttributeName=modifyTimestamp
ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'
ldap.synchronization.userIdAttributeName=sAMAccountName
ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userEmailAttributeName=mail
ldap.synchronization.userOrganizationalIdAttributeName=company
ldap.synchronization.defaultHomeFolderProvider=largeHomeFolderProvider
ldap.synchronization.groupIdAttributeName=cn
ldap.synchronization.groupDisplayNameAttributeName=displayName
ldap.synchronization.groupType=group
ldap.synchronization.personType=user
ldap.synchronization.groupMemberAttributeName=member
ldap.synchronization.enableProgressEstimation=true&lt;/PRE&gt;&lt;P&gt;As per alfresco.log, i can see all the groups and users are synced in alfresco.&lt;BR /&gt;But when i search with '*', in admin tools --&amp;gt; users, i can see only 813 users available. As per my knowledge, organization has more than 15000 active AD users.&lt;/P&gt;&lt;P&gt;In the alfresco.log file, it says :&lt;/P&gt;&lt;PRE&gt;2020-06-15 11:52:18,428 INFO [org.alfresco.repo.security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Synchronization,Category=directory,id1=ldap-ad1,id2=5 User Association: Processed 81803 entries out of 81803. 100% complete. Rate: 67216 per second. 0 failures detected.&lt;/PRE&gt;&lt;P&gt;Questions:&lt;BR /&gt;1. How can i sync all the available &lt;STRONG&gt;active&lt;/STRONG&gt; users of AD?&lt;/P&gt;&lt;P&gt;2. Getting below mentioned warning for multiple groups and users:&lt;/P&gt;&lt;PRE&gt;2020-06-15 11:33:17,119 WARN [org.alfresco.repo.security.sync.ldap.LDAPUserRegistry] [localhost-startStop-1] Failed to resolve member of group 'Google_Meet_POC_Group' with distinguished name: CN=Gowtham B A 90000054,OU=Users,OU=QMM-Migrated User,OU=XYZ Users,DC=xyz,DC=in&lt;/PRE&gt;&lt;P&gt;So, how to sync users/groups which has &lt;STRONG&gt;multiple OU&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;3. Is there any api available through which we can identify&amp;nbsp;the number of synced users from LDAP?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;4. During starting&amp;nbsp;of server, it prints below logs:&lt;/P&gt;&lt;PRE&gt;2020-06-15 11:42:27,849 INFO [security.sync.ChainingUserRegistrySynchronizer] [localhost-startStop-1] Retrieving groups changed since Apr 15, 2020 2:38:57 PM from user registry 'ldap-ad1'&lt;/PRE&gt;&lt;P&gt;How to sync with latest data?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hardik&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 08:07:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88500#M26583</guid>
      <dc:creator>hardik_thakkar</dc:creator>
      <dc:date>2020-06-15T08:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sync all the active users of LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88501#M26584</link>
      <description>&lt;P&gt;Are you sure&lt;/P&gt;&lt;PRE&gt;ldap.synchronization.userSearchBase=dc\=XYZ,dc\=IN&lt;/PRE&gt;&lt;P&gt;contains all the users referenced in the groups as member? You could check your query using &lt;A href="https://directory.apache.org/studio/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://directory.apache.org/studio/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Additionally: are your group names unique?&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 15:41:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88501#M26584</guid>
      <dc:creator>heiko_robert</dc:creator>
      <dc:date>2020-06-15T15:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: Sync all the active users of LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88502#M26585</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/23438"&gt;@heiko_robert&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In Apache directory studio, under "Root DSE", i can see 3 differrent&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;dc\=XYZ,dc\=IN&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;There are unique group name also.&lt;/P&gt;&lt;P&gt;I didn't have much idea about how to run queries in studio.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hardik&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jun 2020 16:53:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88502#M26585</guid>
      <dc:creator>hardik_thakkar</dc:creator>
      <dc:date>2020-06-15T16:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: Sync all the active users of LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88503#M26586</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/23438"&gt;@heiko_robert&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have verified that all the users are part of&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;dc\=XYZ,dc\=IN&lt;/PRE&gt;&lt;P&gt;In the ldap more than 15000 active users are there, but in admin-console --&amp;gt; users section, when i search with *, it provides max. 5000 results.&lt;BR /&gt;&lt;BR /&gt;How to view all the active users list?&lt;BR /&gt;During individual search, I can't get result for many users.&lt;/P&gt;&lt;P&gt;Is there any other configuration required?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Hardik&lt;/P&gt;</description>
      <pubDate>Sun, 30 Aug 2020 08:41:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88503#M26586</guid>
      <dc:creator>hardik_thakkar</dc:creator>
      <dc:date>2020-08-30T08:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sync all the active users of LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88504#M26587</link>
      <description>&lt;P&gt;Solved?&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 10:50:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/sync-all-the-active-users-of-ldap/m-p/88504#M26587</guid>
      <dc:creator>acsme</dc:creator>
      <dc:date>2023-11-27T10:50:30Z</dc:date>
    </item>
  </channel>
</rss>

