Page 1 of 1

ldap_modify

Posted: Tue Jun 21, 2005 4:47 am
by milleusi
i have a problem with ldap_modify() function. I get the following warnig "ldap_modify(): Modify: Insufficient access"

code is:
ldap_modify($ldap_con, $userDn,array('cn' => $new_name));

and the acces in sldap.conf is
access to *
by self write
by users read
by anonymous auth

where is the problem? why I can't modify entry.

Posted: Tue Jun 21, 2005 5:05 am
by Syranide
"by self write"
I'm not really into what that means, but I'm guessing the problem is that you don't have enough access to write (only the daemon).

Something like that I guess.
If anyone knows more of ldap please correct me if I'm wrong.