At 06:23 AM 2001-10-23, Frank Joris wrote: >when I try to add an entry with ldap_add_s() to the LDAP database via >following code I get the error "Object class violation". >For a modification with ldap_modify_s() I worked in a completely analog >way and I had no problems. Duplicate the problem using ldapadd(1)/ldapmodify(1) and go from there. That is, don't debug code and proper use of LDAP at the same time.