Groups > Novell > Perl for NetWare > Re: Net::LDAP modify




Net::LDAP modify

Net::LDAP modify
Tue, 12 Sep 2006 22:08:44 GMT
I am having issues changing values in the NDS for a user using Net::LDAP
modify,
here is the syntax

print "DN=$dnn";
        $result = $ldap->modify($dn, replace => {'SSN' => '1111111111'}
);

The search is no problem, its just the modification thats a problem. Has
anyone used Net::LDAP to modify values successfully. 
Post Reply
Re: Net::LDAP modify
Tue, 12 Sep 2006 22:34:21 GMT
Upon further debugging it seems like that user i am binding with doesn't
have abundant rights. Example
NDS error: no access (-672) 
jaskaran wrote:

> I am having issues changing values in the NDS for a user using Net::LDAP
> modify,
> here is the syntax

> print "DN=$dnn";
>         $result = $ldap->modify($dn, replace => {'SSN' =>
'1111111111'} );

> The search is no problem, its just the modification thats a problem. Has
> anyone used Net::LDAP to modify values successfully.

Post Reply
Re: Net::LDAP modify
Tue, 12 Sep 2006 23:01:29 GMT
Upon further debugging it seems like that user i am binding with doesn't
have abundant rights. Example
NDS error: no access (-672) 
jaskaran wrote:

> I am having issues changing values in the NDS for a user using Net::LDAP
> modify,
> here is the syntax

> print "DN=$dnn";
>         $result = $ldap->modify($dn, replace => {'SSN' =>
'1111111111'} );

> The search is no problem, its just the modification thats a problem. Has
> anyone used Net::LDAP to modify values successfully.

Post Reply
about | contact