Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

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...

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 chilling in the Monastery: (4)
As of 2016-10-23 08:17 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (300 votes). Check out past polls.