hello matthias, i think the error message is quite clear. On Sat, Oct 26, 2002 at 10:42:06PM +0200, Matthias Eichler wrote: > from: mylists@ame.de > > Dear List, > > we are setting up some LDAP-SAMBA-NSS/PAM environment > with OpenLDAP 2.1.4, BerkeleyDB-4.0.14 under Debian3. > > I've imported already some data into without any problems > and can see this data also in some "ldapsearch"-command. > > Unfortunately I get this error > ---cut--- > adding new entry "uid=root,ou=Sysusers,ou=NSS,dc=ame,dc=loc" > ldapadd: update failed: uid=root,ou=Sysusers,ou=NSS,dc=ame,dc=loc > ldap_add: Object class violation (65) > additional info: no structural object classes provided > ---cut--- have you tried to add this object with a structural objectclass, like person or account? > > when I want to import the following data: > ---cut--- > dn: uid=root,ou=Sysusers,ou=NSS,dc=ame,dc=loc > objectClass: sambaAccount add: objectClass: account > uid: root > rid: 1000 > cn: root > lmPassword: 193130B61A7F81C0AAD3B435B51404EE > ntPassword: FA4942AF3BB92B0C5DDAA88F0C2A95A2 > pwdLastSet: 1013796637 > logonTime: 0 > logoffTime: 0 > kickoffTime: 0 > pwdCanChange: 0 > pwdMustChange: 0 > primaryGroupID: 1001 > acctFlags: [U ] hth, guenther -- Guenther Deschner guenther.deschner@suse.de SuSE Linux AG GnuPG: 8EE11688 Berliner Str. 27 phone: +49 (0) 30 / 430944778 D-13507 Berlin fax: +49 (0) 30 / 43732804
Attachment:
pgpb4Se387kIi.pgp
Description: PGP signature