cancel
Showing results for 
Search instead for 
Did you mean: 

synchronize only one user

david82
Champ in-the-making
Champ in-the-making
Hi!
I'm authenticating against an LDAP server with many users and do not want to synchronize all.
There a way to synchronize only the user who enters the system???

Thanks!
2 REPLIES 2

loftux
Star Contributor
Star Contributor
As you can see from the ldap config you have two options

-Put all your users that you want synced in one container and use that as a search base (below default)
ldap.synchronization.userSearchBase=ou\=User Accounts,ou=\Alfresco,dc=domain

-Use a custom property on you users that you want synced, and then do a custom query (below default)
synchronization.personQuery=(&(objectclass\=user)(userAccountControl\:1.2.840.113556.1.4.803\:\=512))

david82
Champ in-the-making
Champ in-the-making
I haven't found a way to sync only one user. I think I finally have to use one of this options, thanks Loftux!