Le 12/05/2010 11:09, Jonathan Clarke a écrit :

Le 12/05/2010 10:47, Romain a écrit :
Yes i have succeded just after i have send my mail. So no, i have
this
lsc.properties file :
----------------------------------------
lsc.tasks.user.dstService.attrs=description cn sn userPassword
objectClass

You need to set sAMAccountName attribute in user entry. This is the AD
login.

I have this line, its not good ???

# sAMAccountName<- uid
lsc.syncoptions.user.sAMAccountName.create_value =
srcBean.getAttributeValueById("uid")

Looks good, but if you want to write this attribute to your destination, you must also list it in:
lsc.tasks.user.dstService.attrs=

Jonathan

I tried to make the certificate, but it don't works. So i have installed the autority of certificate on my Windows Server 2003, and create a certificate. After, i have extract my certificate in ".cer" and install in my debian server with openldap and lsc with this command :

"../../bin/keytool -import -file ../../../canomotech.cer -keystore jssecacerts"

After, i have configured my lsc.properties, but when i launch the sync, i have this error :

---------------------------
mai 12 14:30:55 - INFO  - Starting sync for user
mai 12 14:30:55 - INFO - Connecting to LDAP server ldaps://192.168.0.2:636/dc=openldap,dc=nomotech,dc=local as cn=admin,dc=openldap,dc=nomotech,dc=local
mai 12 14:30:55 - ERROR - Error opening the LDAP connection to the source!
mai 12 14:30:55 - ERROR - Error getting list of IDs in the source for task user
----------------------------

So the connection with the localhost make an error ...

Thanks



_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users

Reply via email to