Hi,
I'm a LSC user, and I fall into those things some times ago, I will try
to write some Unit Tests and submit a bug on this.
In my point of view, there is some problems when LSC converts
script-based objects back into Java objects. In many cases, conversion
fails and just uses toString() method as fallback. This problem depends
on data type in the script, the JRE used (Oracle / not Oracle) and JRE
version. This could lead to transform a multi-valued item into a string
with some delimiter, or worse : use the string "java.Object@0x1984354"
instead of the effective values.
For now, I totally skipped the use of scripts to modify things if there
is multi-valued fields.
Regards,
Ludovic
Le 17/11/2015 15:13, Clément OUDOT a écrit :
2015-11-13 23:14 GMT+01:00 Justin Allen <[email protected]
<mailto:[email protected]>>:
Hello,
I've been working on syncing AD to openldap, and have gotten all
but the group members working. I found some example javascript
for converting the AD group members to posixgroup memberUID, and
the output looks correct, however it is not being split up by the
delimiter:
memberUid: cn=User 1,ou=Users,dc=my-domain,dc=com ; cn=User 2,ou=Use
rs,dc=my-domain,dc=com
I have both the defaultDelimiter set to ; and the attribute one
set as well. Here's the full dataset:
Hi Justin,
your dataset should output an array, not a string with delimiter.
Clément.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users
--
Ludovic Pouzenc - Administrateur Système
CUFR J.-F. Champollion, Site d'Albi
Tél: 05.63.48.64.08, ext. 2221#
Unix is user-friendly; it's just picky about who its friends are.
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users