PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
milleusi
Forum Commoner
Posts: 30 Joined: Mon Jun 13, 2005 3:18 am
Post
by milleusi » Tue Jun 21, 2005 4:47 am
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.
Syranide
Forum Contributor
Posts: 281 Joined: Fri May 20, 2005 3:16 pm
Location: Sweden
Post
by Syranide » Tue Jun 21, 2005 5:05 am
"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.