Qmail-LDAP
[Top] [All Lists]

Re: objectclass: country letting me down

To: Roger Thomas <sniper@home.net.my>
Subject: Re: objectclass: country letting me down
From: Sebastian Benoit <benoit-lists@fb12.de>
Date: Tue, 26 Dec 2006 13:07:01 +0100
Cc: "qmail-ldap@qmail-ldap.org" <qmail-ldap@qmail-ldap.org>
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <1167120219.4590d75b10183@mail.home.net.my>
Mail-followup-to: Roger Thomas <sniper@home.net.my>, "qmail-ldap@qmail-ldap.org" <qmail-ldap@qmail-ldap.org>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organisation: Organisation against the bulletization of popular thought as a result of the increasing prevalence of Microsoft PowerPoint(TM)
References: <1167120219.4590d75b10183@mail.home.net.my>
User-agent: Mutt/1.4.2.2i
Roger Thomas(sniper@home.net.my) on 2006.12.26 16:03:39 +0000:
> I have been using the old openldap 2.0.25 and have no problem with this ldif:
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: organizationalPerson
> objectClass: country

> ldap_add: Object class violation (65)
>         additional info: invalid structural object class chain 
> (inetOrgPerson/country)

country is STRUCTURAL and SUP top.
person is STRUCTURAL and SUP top.

That does not work: they are on different branches in the hierachy of
objectclasses.

For some explainaitions see

 
http://www.oreillynet.com/pub/a/sysadmin/2006/11/09/demystifying-ldap-data.html?page=last&x-showcontent=text

Some LDAP-docs say, that an entry may be of only _one_ structural
objectclass. This is not quite true: the objectclasses have to be children
(SUP...) of each other. And using 'country' violates this.

/B.
-- 
Sebastian Benoit <benoit-lists@fb12.de>

Attachment: pgpKMrYccSTTu.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>