Le 25 avril 2012 15:11, Maxime Pelletier <[email protected]> a écrit : > Hi all, > > I wanted to add more details about my email because I haven't received any > answer:) > > The main problem behind this is that each time I run LSC, it increments the > next sequence value for each entry. Result: next value is incremented by > 10000 each time I run LSC. Doesn't make sense... > > As a workaround, I did that: > > ========================== > > > <dataset> > <name>uidNumber</name> > <policy>KEEP</policy> > <defaultValues> > <string> > (typeof(dstBean)=='undefined') || > dstBean.getDatasetValuesById("uidNumber").equals('')?org.lsc.utils.SequencesFactory.getInstance(ldap.getJndiServices()).getNe > xtValue("cn=uidNumberSequence,o=MYORG","serialNumber"):dstBean.getDatasetValuesById("uidNumber") > </string> > </defaultValues> > </dataset> > ======================= > > It's kind of over-complicated for somthing that should be simple. > > Unless I someone tell me not to do it, I'll create a bug entry about it > today.
Maxime, why don't you use createValues as you suggested in your first mail, what's the problem with it? Clément. _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

