[Gllug] Problems with OpenLDAP 'objectClass violation'
Simon Morris
simon.morris at penguinit.com
Thu Jul 31 18:59:19 UTC 2003
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
simon.morris at penguinit.com
-----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------
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list