'objectClass violation' problem

Simon Morris <[email protected]>
Newsgroups gmane.network.directoryadmin
Message-ID <[email protected]>
Hello there.

I'm trying to add users to a new LDAP directory using the
directory_administrator utility.

OS: Debian Woody (Testing)
LDAP Server: OpenLDAP 2.1.22-1
Directory Administrator 1.5.1

This system worked on another test box (which I've since scrubbed) but
when I try to add a user I get the dreaded "object class violation"
error message.

I've posted the output of the LDAP packets to the link below but the
highlights are:

Attribute: objectclass
            Value: organizationalPerson
            Value: inetOrgPerson
            Value: account
            Value: inetLocalMailRecipient
            Value: top
            Value: posixAccount
            Value: shadowAccount

and the server says:

Error Message: invalid structural object class chain
(inetOrgPerson/account)

so the problem seems to be with those 2 objectClass attributes. How can
I make them play nicely together? My config file is posted at:

http://www.simonmorris.uklinux.net/ldap_problems.txt

Thanks if you can help at all.


-- 
Simon Morris
[email protected]

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT/ d- s: a- C+++ UL+++$> P+> L+++$> E--- W++ N+++ o+ K? w !O M !V 
!PS PE Y+ PGP++ t--- !5 X+ R- tv+++ b++ DI+@ D++ G> e h-- r+++ y+++ 
------END GEEK CODE BLOCK------
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/Kl0qww7vdjjHclcRAorDAJwMO58iXumiifDdjcs7Km8llZO3CACgsNBI
B+6/FyCHQXiWUIYv/HVF/EQ=
=JWZJ
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.