Re: 'objectClass violation' problem

"Manuel Amador (Rudd-O)" <[email protected]>
Newsgroups gmane.network.directoryadmin
Message-ID <[email protected]>
Known problem.  I have a few patches to fix it, but I frankly haven't 
had time =).  Use OpenLDAP 2.0 or disable schema checking.

Simon Morris wrote:

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




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
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.