Le 13 avril 2012 17:21, James McCartney <[email protected]> a écrit : > 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?
Hello James, I am also doing tests with this, but it seems that the delimiter does not work to split values. I am trying to look into the code so see if I can find the problem. Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

