hi, > I'm getting objectclass violation when I'm trying to add an organisation with my function which I wrote in C. I have added the suffix in my slapd.config file. I'm running openldap-1.2.11. Please help. if you want to add a 'organization' object, you must specify an 'o' (organizationName) attribute. so you have to add a second LDAPMod to set this value ... Benoit. -- Benoit Orihuela IDEALX S.A.S.