Le 05/10/2016 à 20:50, Elias Pereira a écrit :

    * Still in this dataset, you get values of memberUid in source,
    which are simple users uid, not DN, but then you use them as DN,
    which will obviously fail.


What should I put? Looking at the example that in the lsc wiki project, I chose the memberUid because in my base openldap is where informs that member belongs to which group.



The sample code from http://lsc-project.org/wiki/documentation/tutorial/synchronizegroups was made for uniqueMember attribute, whose value is a DN, not like memberUid whose vakue is the user uid.

So the use of: uid = srcLdap.attribute(memberSrcDn, "uid").get(0); can be avoided, as you already have the uid value.

--
Clément OUDOT
Consultant en logiciels libres, Expert infrastructure et sécurité
Savoir-faire Linux
87, rue de Turbigo - 75003 PARIS
Blog: http://sflx.ca/coudot

_______________________________________________________________
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