It works ! :D I'm really starting to enjoy LSC ^^. Just an other question (if I had to create a new thread tell me ;) ) : CN entries on the AD are not well writen : there is some in capital letter, some with capital letter and lower-case and some only lower-case. I would like to import and convert all CN in lower-case. Is that possible with LSC ? :D And if it is, can you tell me how please ?
2012/11/7 Clément OUDOT <[email protected]> > > > 2012/11/7 Emeric Million <[email protected]> > >> I think so, here my destination config : >> " >> <ldapDestinationService> >> <name>ldap-dst-service</name> >> <connection reference="ldap-dst-conn" /> >> <baseDn>ou=site,ou=comptes,dc=MyDomain,dc=int</baseDn> >> <pivotAttributes> >> <string>cn</string> >> </pivotAttributes> >> >> <fetchedAttributes> >> <string>cn</string> >> <string>sn</string> >> <string>objectClass</string> >> <string>uid</string> >> <string>mail</string> >> <string>uidNumber</string> >> </fetchedAttributes> >> >> <getAllFilter>(objectClass=inetorgperson)</getAllFilter> >> >> <getOneFilter>(&(objectClass=inetorgperson)(cn={cn}))</getOneFilter> >> </ldapDestinationService> >> " >> And for the doc I wasn't sure (english is not my mother tongue), thanks >> to confirm :D >> > > > Try createValues instead of defaultValues: > > > <dataset> > <name>uidNumber</name> > <policy>KEEP</policy> > <createValues> > <string>SequencesFactory. > getInstance(ldap.getJndiServices()). > > getNextValue("cn=uidNumberSequence,ou=Sequences,ou=HiddenTree,dc=MyDomain,dc=int", > "uidNumber")</string> > </createValues> > </dataset> > > > > Clément. > -- MILLION Emeric
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

