Andreas Moroder wrote:
Hello,
is it possible to have a entry in my ldap ( openldap ) tree that is in
both objectclasses nisNetgroup and posixGroup
When I try to load
dn: cn=andreas, ou=groups, dc=sb-brixen,dc=it
objectClass: top
objectClass: nisNetgroup
objectClass: posixGroup
gidNumber: 987
cn: andreas
with lbe, then I get this error:
02:42:50 PM: Failed to add new entry cn=andreas, ou=groups,
dc=sb-brixen,dc=it
Root error: [LDAP: error code 65 - invalid structural object class chain
(nisNetgroup/posixGroup)]
What is wrong with my simple example ?
Thanks
Andreas
The message says it: you are trying to create an object with an invalid
objectclass chain.
Both nisNetGroup and PosixGroup are structural objectclasses and an
entry can have one and only one structural class unless they are in the
same objectclass chain ( like person, organizationalPerson,
inetOrgPerson that derives one from the other).
Ing. Luca Scamoni
Responsabile Ricerca e Sviluppo
SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
-----------------------------------
Office: +39 0382 573859 (137)
Mobile: +39 347 1014425
Email: [EMAIL PROTECTED]
-----------------------------------
---
You are currently subscribed to [EMAIL PROTECTED] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the
SUBJECT of the message.