Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Change Password on AD via Perl/LDAPS/Convert::BER

by araqnid (Beadle)
on Apr 06, 2001 at 04:30 UTC ( #70364=note: print w/ replies, xml ) Need Help??


in reply to Change Password on AD via Perl/LDAPS/Convert::BER

Do you really mean '$pw' with single quotes? (no quotes should be necessary at all) Also, I've never actually used Convert::BER at this level, I thought Net::LDAP automatically converted strings in the replace() data as necessary. ie. sth like:

$ldaps->modify(dn => $tempDN, changes => [ replace =>[unicodePwd => $pw]]);
Also, I've tended to fetch an entry, call its replace/add methods and then update() it, but that should just fall through to this method...


Comment on Re: Change Password on AD via Perl/LDAPS/Convert::BER
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://70364]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (20)
As of 2015-07-31 15:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (278 votes), past polls