[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ldap_add: Object class violation (65) --> correct post ( Sorry :-)

Ilo Lorusso wrote:


Im tryin 2 add user infomation to my directory but get the following error:

adding new entry "uid=jdoe,ou=people,dc=gmsg,dc=co,dc=za"
ldapadd: update failed: uid=jdoe,ou=people,dc=gmsg,dc=co,dc=za
ldap_add: Object class violation (65)
additional info: no structural object class provided

the only objectclass you provided for your uid=joe,... entry was posixAccount which is not 'structural', try adding a structural objectclass like 'account' or 'person' to your entry (you might want to look at the specific needs of those OC's like mandatory attributes first)