Thanks very much, yes, the declaration was made with the following attributes :
<dataset> <name>objectClass</name> <policy>KEEP</policy> <defaultValues></defaultValues> <forceValues></forceValues> <createValues> <string>"top"</string> <string>"inetOrgPerson"</string> <string>"PosixAccount"</string> </createValues> <delimiter>,</delimiter> </dataset> I re-check my entries, thanks Le 23.10.2019 à 12:05, Soisik Froger a écrit : > On 23/10/2019 11:50, Forster Arnaud, Gymnase francais wrote: > >> Now, when I'm trying to do the same using the LSC tool I get the following >> error : >> >> /oct. 23 11:06:56 - ERROR - Error while adding entry >> mail=firs.l...@gbsl.ch,ou=GFBienne,ou=Users,ou=Accounts,dc=gfbienne,dc=lan >> in directory :javax.naming.directory.SchemaViolationException: [LDAP: error >> code 65 - no objectClass attribute]; remaining name >> 'mail=first.l...@gbsl.ch,ou=GFBienne,ou=Users,ou=Accounts'// > Hi, > > LSC did not provide any objectClass attributes when trying to create a new > entry, but objectClass is a mandatory attribute in OpenLDAP. > > Make sure you have declared a dataSet containing the objectClass attributes > you want to set upon creation, something like this : > > <dataset> > <name>objectclass</name> > <policy>KEEP</policy> > <createValues> > <string>"posixAccount"</string> > <string>"inetOrgPerson"</string> > <string>"top"</string> > </createValues> > </dataset> > _______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list lsc-users@lists.lsc-project.org https://lists.lsc-project.org/cgi-bin/mailman/listinfo/lsc-users