I am trying to add ldap object attribute in php. But iam facing below error:
PHP Warning: ldap_mod_add(): Modify: Object class violation in
Iam just trying to add attribute as below:
ldap_mod_add($conn,$dn,$my_attr);
I already searched in google, but still none of the answers didnt worked for me. This error seems to be an irritating since it doesnt clearly specify the actual problem.
Could anyone please tell me what could be the main issue of above error?