<?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: Some users are not synced via LDAP in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/some-users-are-not-synced-via-ldap/m-p/112463#M31348</link>
    <description>&lt;P&gt;Hello hardik_thakkar,&lt;/P&gt;&lt;P&gt;We had a similar issue because of the insufficient rights of our LDAP user.&lt;/P&gt;&lt;P&gt;I suggest you make tries with Apache Directory Studio, you will easyly see what the LDAP query returns.&lt;/P&gt;&lt;P&gt;When you are satisfied with the result, you can make a full import for example by removing&lt;/P&gt;&lt;PRE&gt;(!(whenChanged&amp;lt;\={0})&lt;/PRE&gt;&lt;P&gt;in the ldap.synchronization.personDifferentialQuery and restart alfresco.&lt;/P&gt;&lt;P&gt;When full import is done, restore the initial configuration and restart alfresco once again.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Sep 2020 07:15:15 GMT</pubDate>
    <dc:creator>achauve</dc:creator>
    <dc:date>2020-09-02T07:15:15Z</dc:date>
    <item>
      <title>Some users are not synced via LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-users-are-not-synced-via-ldap/m-p/112462#M31347</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;When i search with * in admin-console &amp;gt; users page, it shows only 5000 users and in actual LDAP has more than 15000 active users.&lt;/P&gt;&lt;P&gt;When we search for some of the active users, getting 0 result.&lt;/P&gt;&lt;P&gt;How to check number of users synced via LDAP? Any script?&lt;/P&gt;&lt;P&gt;Below are the configuration for LDAP sync in alfresco-global.properties file.&lt;/P&gt;&lt;PRE&gt;ldap.synchronization.active=true
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad
ldap.authentication.active=true
ldap.authentication.allowGuestLogin=false
ldap.authentication.userNameFormat=%s@inroot.in
ldap.authentication.java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
ldap.authentication.java.naming.provider.url=ldap://&amp;lt;IP&amp;gt;:389
ldap.authentication.java.naming.security.authentication=simple
ldap.authentication.escapeCommasInBind=false
ldap.authentication.escapeCommasInUid=false
ldap.authentication.defaultAdministratorUserNames=Administrator,alfresco
synchronization.syncOnStartup=false
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=false
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=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))
ldap.synchronization.personDifferentialQuery=(&amp;amp;(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512)(!(whenChanged&amp;lt;\={0})))
ldap.synchronization.groupSearchBase=dc\=XYZ,dc\=IN

ldap.synchronization.userSearchBase=dc\=XYZ,dc\=IN

dap.synchronization.modifyTimestampAttributeName=whenChanged
#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=userHomesHomeFolderProvider
#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;Thanks,&lt;/P&gt;&lt;P&gt;Hardik&lt;/P&gt;</description>
      <pubDate>Tue, 01 Sep 2020 11:53:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-users-are-not-synced-via-ldap/m-p/112462#M31347</guid>
      <dc:creator>hardik_thakkar</dc:creator>
      <dc:date>2020-09-01T11:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Some users are not synced via LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-users-are-not-synced-via-ldap/m-p/112463#M31348</link>
      <description>&lt;P&gt;Hello hardik_thakkar,&lt;/P&gt;&lt;P&gt;We had a similar issue because of the insufficient rights of our LDAP user.&lt;/P&gt;&lt;P&gt;I suggest you make tries with Apache Directory Studio, you will easyly see what the LDAP query returns.&lt;/P&gt;&lt;P&gt;When you are satisfied with the result, you can make a full import for example by removing&lt;/P&gt;&lt;PRE&gt;(!(whenChanged&amp;lt;\={0})&lt;/PRE&gt;&lt;P&gt;in the ldap.synchronization.personDifferentialQuery and restart alfresco.&lt;/P&gt;&lt;P&gt;When full import is done, restore the initial configuration and restart alfresco once again.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 07:15:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-users-are-not-synced-via-ldap/m-p/112463#M31348</guid>
      <dc:creator>achauve</dc:creator>
      <dc:date>2020-09-02T07:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Some users are not synced via LDAP</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/some-users-are-not-synced-via-ldap/m-p/112464#M31349</link>
      <description>&lt;P&gt;This might be worth a look&lt;/P&gt;&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/40011/highlight/true#M2220" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/ldap-sync-fails-after-cleanalfproptablespostexec-sql/m-p/40011/highlight/true#M2220&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Sep 2020 10:45:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/some-users-are-not-synced-via-ldap/m-p/112464#M31349</guid>
      <dc:creator>idwright</dc:creator>
      <dc:date>2020-09-08T10:45:09Z</dc:date>
    </item>
  </channel>
</rss>

