Hi,
Le 2014-12-10 09:52, FOUCHET, Alexandre a écrit :
Hi,
I am facing troubles debugging my js for a <dataset> field.
Using <dataset>, I want to update the attribute "title" of all
synchronized users on dest LDAP depending on whether this user is a
"uniqueMember" in that groupOfUniqueNames. If yes, I want to write
"contributor", else I want to write "reader".
I tried what I wrote below, but I'm think I'm using this wrong. Could
anyone please guide me ?
[...]
ldap.search("cn=contributor,dmdName=roles,cn=com1,dmdName=communities,dmdName=groups,dmdName=secureportal,dmdName=applications,dc=cap,dc=ad,dc=applis,dc=fr",
"(uniqueMember=" + srcBean.getDatasetFirstValueById("uid") + ")");
If think the issue is here: you are looking for uniqueMember=<uid> while
you should look for uniqueMember=<DN>.
Regards,
Raphaël Ouazana.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users