Hello,I'm syncronizing users from our AD using the following configuration in config files.The problem is that AD has ~150K users.Alfresco apperently can't cope with such a large number of users.When I click on "Repository"->"User Homes" ,alfresco will try to display all User Homes and it will hog the server!I've been thinking of moving from sync. mode to only auth. mode.The thing is that we already have several users working with Alfresco and Share and I don't want them to get any impact from this change.This is my AD snap from /srv/alfresco/tomcat/shared/classes/alfresco-global.properties
#
# AD configuration
#
authentication.chain=alfrescoNtlm1:alfrescoNtlm,ldap-ad1:ldap-ad,ldap-ad2:ldap-ad,ldap-ad3:ldap-ad
synchronization.synchronizeChangesOnly=true
synchronization.syncOnStartup=false
synchronization.import.cron=0 30 2 * * ?
This is an example of /srv/alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/ldap-ad1/ldap-ad-authentication.properties:
ldap.authentication.active=true
# synchronization.synchronizeChangesOnly=true
# synchronization.syncOnStartup=false
ldap.authentication.java.naming.security.authentication=simple
# Change here OU=Staff or OU=Student or OU=External
ldap.authentication.userNameFormat=CN=%s,OU=Staff,OU=Accounts,DC=AD,DC=MY,DC=ORG
ldap.authentication.allowGuestLogin=true
ldap.authentication.java.naming.provider.url=ldap://ad1.ad.my.org:389
ldap.authentication.defaultAdministratorUserNames=lkolnz,swelsd,anbeitz
ldap.authentication.escapeCommasInBind=true
ldap.authentication.escapeCommasInUid=true
ldap.synchronization.active=true
ldap.synchronization.java.naming.security.principal=CN=lkolnz,OU=Staff,OU=Accounts,DC=AD,DC=MY,DC=ORG
ldap.synchronization.java.naming.security.credentials=secret_password
ldap.synchronization.queryBatchSize=500
ldap.synchronization.attributeBatchSize=100
ldap.synchronization.groupQuery=(&(objectclass=group)(objectCategory=Group))
ldap.synchronization.groupDifferentialQuery=(&(objectclass=group)(!(whenChanged<={0})))
ldap.synchronization.groupMemberAttributeName=member
ldap.synchronization.groupIdAttributeName=cn
ldap.synchronization.groupType=group
ldap.synchronization.groupSearchBase=OU=Groups,DC=AD,DC=MY,DC=ORG
ldap.synchronization.personQuery=(&(objectCategory=Person)(sAMAccountName=*))
ldap.synchronization.personDifferentialQuery=(&(objectclass=user)(!(whenChanged<={0})))
# Change here OU=Staff or OU=Student or OU=External
ldap.synchronization.userSearchBase=OU=Staff,OU=Accounts,DC=AD,DC=MY,DC=ORG
ldap.synchronization.modifyTimestampAttributeName=whenChanged
ldap.synchronization.timestampFormat=yyyyMMddHHmmss'.0Z'
ldap.synchronization.userIdAttributeName=sAMAccountName
ldap.synchronization.userFirstNameAttributeName=givenName
ldap.synchronization.userLastNameAttributeName=sn
ldap.synchronization.userEmailAttributeName=mail
#ldap.synchronization.userOrganizationalIdAttributeName=
ldap.synchronization.defaultHomeFolderProvider=userHomesHomeFolderProvider
ldap.synchronization.personType=user
I couldn't find a table in MySQL that consist of all user that logged and have been using alfresco
Would setting "ldap.synchronization.active=false" preserve all current users and their files?Is it the only change I need to do?Should I change anything else in /srv/alfresco/tomcat/shared/classes/alfresco/extension/subsystems/Authentication/ldap-ad/ldap-ad1/ldap-ad-authentication.properties?Any other advice?Cheers,Leon