Paul's Programming Notes     Archive     Feed     Github

LDAP_ADD PHP - Object Class Violation

If you are trying to use php's ldap_add to add an user and are getting an object class violation, try to copy all the fields of a working user exactly. Most likely you are missing some of the required fields of the objectclass you are trying to add.