If you look in $result->error you will see a description. And ldap_error_name()
from Net::LDAP::Util shows code 50 is LDAP_INSUFFICIENT_ACCESS. So perhaps
you are not bound as a user with permissions to change that particular dn
Graham.
On Sat, Jun 29, 2002 at 06:03:25PM +0530, Prayank Chandorkar wrote:
> Hi all,
> I tried to find a solution in the archives but cudnt unfortunately find one.
> The problem is as follows:
> I want to modify an attribute value(mail) for an entry,
> The scriptlet is as follows :
>
> $dn='uid=abc, ou=orgn,o=net';
> $result=$ldap->modify( $dn, replace => { mail => 'ab...@or...' } );
>
> when I do result->code..i get a return value of 50 but the change doesnot
> take effect.
>
> Please let me the know the way.
>
> regs
>
> Prayank Chandorkar
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> No, I will not fix your computer.
> http://thinkgeek.com/sf
|