[Date Prev][Date Next] [Chronological] [Thread] [Top]

Object class violation (65)



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---

when I want to import the following data:
---cut---
dn: uid=root,ou=Sysusers,ou=NSS,dc=ame,dc=loc
objectClass: sambaAccount
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          ]

dn: uid=Admin,ou=Sysusers,ou=NSS,dc=ame,dc=loc
objectClass: posixAccount
uid:Admin
cn:Admin
userid:Admin
uidNumber:20000
gidNumber:20000
homeDirectory:/etc/openldap
userPassword: {SSHA}5+d8nJ1A/MVV/DNJJofO+d1fgCV5rIai

dn: uid=TECHNIK1$,ou=Samba,ou=NSS,dc=ame,dc=loc
objectClass: sambaAccount
objectClass: posixAccount
uid: TECHNIK1$
uidNumber: 21001
gidNumber: 20002
homeDirectory: /tmp
cn: TECHNIK1Client
rid: 0

dn: uid=test.user,ou=Muenchen,dc=ame,dc=loc
objectClass: person
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: sambaAccount
#objectClass: qmailUser
objectClass: pilotPerson
sn: Nachname
telephoneNumber: +49 89 12345-678
uidNumber: 26001
gidNumber: 26000
homeDirectory: /home/test.user
userPassword: {SSHA}5+d8nJ1A/MVV/DNJJofO+d1fgCV5rIai
loginShell: /bin/bash
gecos: Test User
givenName: Vorname
homePhone: +49 30 123456
homePostalAddress: Somestreet 123
mail: test@ame.de
mobile: 0172 1234567
uid: test.user
pwdLastSet: 1013351552
logonTime: 0
logoffTime: 0
kickoffTime: 0
pwdCanChange: 0
pwdMustChange: 0
displayName: Test User
cn: Test User
description: Testuser fuer NSS/PAM/LDAP/Samba
rid: 5002
primaryGroupID: 5003
lmPassword: 193130B61A7F81C0AAD3B435B51404EE
ntPassword: FA4942AF3BB92B0C5DDAA88F0C2A95A2
acctFlags: [U          ]
---cut---

Unfortunately I cant get the error out, I read already
the scheme files but everything seems to be ok, and there
is no detailed documentation of the error-codes.

It would be really great if somebody out there can
say whats going on here...

Thanks,

Matthias Eichler

-- 
Mit freundlichen Grüßen

AME Aigner Media & Entertainment GmbH


Matthias Eichler
Leiter Technik | Technical Director
_____________________________________

AME Aigner Media & Entertainment GmbH
Bavariaring 8        D-80336 München

Tel [+49] Ø89.427 05 - 330
Fax [+49] Ø89.427 05 - 199

http://ame.de        eMail: me@ame.de
_______________________________________
Angaben nach TDG|GmbHG:ame.de/impressum