[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Problem with adding country attribute
Simon Gao <gao@schrodinger.com> writes:
> Hi,
>
> I am having problem with adding "c" country attribute. The error I got is:
>
> ldap_add: Internal (implementation specific) error (80)
> additional info: no structuralObjectClass operational attribute
>
>
> I'm running OpenLDAP 2.3.30. Here is related parts:
>
>
> street: 123 Short St.
> l: Big Town
> st: Some State
> c: US
and what is the distinguished name like?
>
> objectClass: friendlyCountry
> objectClass: Country
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> objectClass: posixAccount
> objectClass: shadowAccount
> objectClass: top
> objectClass: inetOrgPersonAccount
> objectClass: inetLocalMailRecipient
You are mixing object classes,a person can never be a country nor a
friendly country,
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6