Hey Folks,

I'm trying to sync some AD groups members to my OpenLDAP using the
following code:

https://dpaste.de/Z41b

In truth, I just want to change the suffix of the members that comes from
the AD DIT from my simplified DIT on openLDAP which matches the users
created in a previous task.

If I strip the member dataset and let the lsc synchronize the member
attribute automatically, all values works but with the 'wrong' DN (that
uses the AD structure), not matching the users of my openLDAP database DN.

Otherwise, if I try to use my code to populate the member attr, the lsc
tries to use the following LDIF:

dn: cn=SRVC_LDAP,ou=grupos,dc=receita,dc=intranet
changetype: modify
add: member
member: [object Array]
-

And receives the 21 LDAP error (invalid syntax probably).

Note that I'm using the groupOfMembers objectClass to hold the objects in
the OpenLDAP instance.

Any clues about how can I solve this problem?

Att,

Gabriel Cavalcante
_______________________________________________________________
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