2014-04-17 13:14 GMT+02:00 Deividas haspo <[email protected]>: > Thanks, everything works fine now. > > One more thing is ennoying me. In ldap users passwords is in MD5, I need > them to sync to AD and after succesfull sync I want that users should be > able to login, but they can't. > I used many ways to do that, but still nothing. > > I tried these: > > <dataset> > <name>userPassword</name> > <policy>FORCE</policy> > <createValues> > <string>SecurityUtils.hash(SecurityUtils.HASH_MD5, > srcBean.getDatasetFirstValueById("userPassword"))</string> > </createValues> > </dataset> > > also this: > > <dataset> > <name>userPassword</name> > <policy>FORCE</policy> > <createValues> > > <string>srcBean.getDatasetFirstValueById("userPassword")</string> > </createValues> > </dataset> > > How can I get it correct? > > Thanks for awesome support. >
You can't do it like this, read this doc: http://lsc-project.org/wiki/documentation/howto/activedirectory#password_synchronizationand you can also take a look to my presentation at LDAPCon: http://fr.slideshare.net/ldapcon/synchronize-ad-and-openldap-with-lsc Clément.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

