I am working on creating multi-valued attributes in the directory.
Using the delivered example hsqldb data, I added a column for carLicense.
Data from CSV, loaded into database, and added to the sql-map-config.xml:
id;uid;endOfValidity;sn;cn;givenName;mail;o;address;telephoneNumber;carLicense
1;j.clarke;31/12/2015;Clarke;Clarke,
Jonathan;Jonathan;[email protected];Normation;;;BHU772|DED899
I edited the lsc.xml file to include a default syncoption delimiter and
a new delimiter for the default dataset:
<defaultDelimiter>|</defaultDelimiter>
...
<dataset>
<name>default</name>
<policy>FORCE</policy>
<delimiter>|</delimiter>
</dataset>
But when I run the sample it only creates a single valued attribute with
the delimiter in place:
Apr 13 10:03:41 - INFO - # Updating object
[email protected],ou=Sample,dc=lsc-project,dc=org for MySyncTask
dn: [email protected],ou=Sample,dc=lsc-project,dc=org
changetype: modify
replace: carLicense
carLicense: BHU772|DED899
How do I get lsc to understand about the delimiter within the data?
--
James McCartney
System Administrator
IT Services, University of Arkansas
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org
lsc-users mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-users