Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2015-11-27 11:58 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (727 votes), past polls