cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP-AD sync does not work

hoomanv
Confirmed Champ
Confirmed Champ
Hello,

Recently installed 4.2.d.
I configured ldap-ad subsystem as below.


ldap.authentication.userNameFormat=%s@mydomain.local
ldap.authentication.java.naming.provider.url=ldap://myadserver.mydomain.local:389
ldap.synchronization.java.naming.security.principal=ldap_user@mydomain.local
ldap.synchronization.java.naming.security.credentials=password
ldap.synchronization.groupSearchBase=ou\=People,dc\=mydomain,dc\=local
ldap.synchronization.userSearchBase=ou\=People,dc\=mydomain,dc\=local


I'm able to login to share with AD users so that's good. but synchronization does not work.
This is a fresh install and I have kept anything else at defaults, so synchronization is enabled and it must be triggered at start up as explained here : http://wiki.alfresco.com/wiki/The_Synchronization_Subsystem

I also tried triggering a sync through JMX, but I can only see MBeans -> Alfresco -> VirtServerRegistry
neither MBeans -> Alfresco -> Schedule nor MBeans -> Alfresco -> Configuration

Also tried setting the sync log level to debug and restarted the service but nothing seems to be logged. greped all log files but couldn't find anything useful.
My alfresco.log was last updated 3 days ago when I first installed alfresco. restarting alfresco does not seem to be affecting this log file.

Any help is appreciated.
2 REPLIES 2

hoomanv
Confirmed Champ
Confirmed Champ
It just worked mysteriously. I played with groupSearchBase and userSearchBase, probably there was something wrong in them.

I still can't see the MBeans for triggering a sync. Also my alfresco.log seems not being updated, where can I see the sync logs ?

mrogers
Star Contributor
Star Contributor
The jmx interface is Enterprise only.   it's not available in the community version.