AD synchronization taking too long.
Asked by JD:

Need help urgently. Atlassian support has not responded even after 2 days.

I am a new to confluence.

I have configured user integration with Active Directory and configured the 'Additional Group DN' under LDAP schema to limit search to a specific OU. Still it is going through the entire Active Directory and adding 1000s of users to the 'Unsynched from Directory user list. The synchronization has not stopped since it started a day ago and only one user shows up in the list that was used to test the AD connection.

There are only 60 users in the security group in the OU that should be included in the user list via additional group DN field. In AD we have over 150,000 user objects.

The configuration is similar to the old version currently running in production and that takes a few seconds to complete and only searches in the Group DN mentioned. What am I missing here?

New Server Version running 7.11 (old version is 6.2.0)

Directory configuration is as follows: (sensitive information masked with \*\*)

Directory ID: \*\*\*  
Name: \*\*\*  
Active: true  
Type: CONNECTOR  
Created date: Wed Mar 17 22:02:38 MDT 2021  
Updated date: Thu Mar 18 11:50:44 MDT 2021  
Allowed operations: \[UPDATE_USER_ATTRIBUTE, UPDATE_GROUP_ATTRIBUTE\]  
Implementation class: com.atlassian.crowd.directory.MicrosoftActiveDirectory  
Encryption type: sha  
Attributes:  
com.atlassian.crowd.directory.sync.currentstartsynctime: 1616088959393  
configuration.change.timestamp: 1616089844030  
crowd.sync.group.membership.after.successful.user.auth.enabled: true  
crowd.sync.incremental.enabled: true  
directory.cache.synchronise.interval: 3600  
ldap.basedn: DC=\*\*\*,DC=\*\*\*,DC=com  
ldap.connection.timeout: 10000  
ldap.external.id: objectGUID  
ldap.filter.expiredUsers: true  
ldap.group.description: description  
ldap.group.dn: OU=\*\*\*\*,OU=\*\*\*,OU=EnterpriseObjects  
ldap.group.filter: (\&(objectCategory=Group)(!(isCriticalSystemObject=TRUE)))  
ldap.group.name: cn  
ldap.group.objectclass: group  
ldap.group.usernames: member  
ldap.local.groups: false  
ldap.nestedgroups.disabled: true  
ldap.pagedresults: true  
ldap.pagedresults.size: 100000  
ldap.password: \*\*\*\*\*\*\*\*  
ldap.pool.timeout: 0  
ldap.propogate.changes: false  
ldap.read.timeout: 120000  
ldap.referral: true  
ldap.relaxed.dn.standardisation: true  
ldap.roles.disabled: true  
ldap.search.timelimit: 60000  
ldap.secure: false  
ldap.url: ldap://\*\*\*\*\*\*.\*\*\*\*.\*\*\*.com:389  
ldap.user.displayname: displayName  
ldap.user.email: mail  
ldap.user.encryption: sha  
ldap.user.filter: (\&(objectCategory=Person)(sAMAccountName=\*))  
ldap.user.firstname: givenName  
ldap.user.group: memberOf  
ldap.user.lastname: sn  
ldap.user.objectclass: user  
ldap.user.password: unicodePwd  
ldap.user.username: sAMAccountName  
ldap.user.username.rdn: cn  
ldap.userdn: \*\*\*\*\*@\*\*\*\*\*.com  
ldap.usermembership.use: false  
ldap.usermembership.use.for.groups: false  
localUserStatusEnabled: false

Thank you

JD


Answers:
author: Brant Schroeder
body: [@JD](/t5/user/viewprofilepage/user-id/4310653)

Were you able to solve this issue?


Tags: confluence-server

server