nisNetgroup and posixGroup

View: New views
2 Messages — Rating Filter:   Alert me  

nisNetgroup and posixGroup

by Andreas Moroder :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


---
You are currently subscribed to ldap@... as: [lists@...]
To unsubscribe send email to ldap-request@... with the word UNSUBSCRIBE as the SUBJECT of the message.

Re: nisNetgroup and posixGroup

by Luca Scamoni :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:   luca.scamoni@...
-----------------------------------



---
You are currently subscribed to ldap@... as: [lists@...]
To unsubscribe send email to ldap-request@... with the word UNSUBSCRIBE as the SUBJECT of the message.
LightInTheBox - Buy quality products at wholesale price