Qmail-LDAP
[Top] [All Lists]

Re: objectclass: country letting me down

To: "qmail-ldap@qmail-ldap.org" <qmail-ldap@qmail-ldap.org>
Subject: Re: objectclass: country letting me down
From: Roger Thomas <sniper@home.net.my>
Date: Tue, 26 Dec 2006 20:33:02 +0800
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: <20061226120723.GA30572@mail.webmonster.de>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
References: <1167120219.4590d75b10183@mail.home.net.my> <20061226120723.GA30572@mail.webmonster.de>
User-agent: Internet Messaging Program (IMP) 3.2
Quoting Sebastian Benoit <benoit-lists@fb12.de>:

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


I need to know the country from which my user registers. Is there any 
workaround so that I can use the country objectclass?

--
roger


---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------

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