Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://70364]
help
Chatterbox?
[karlgoethebier]: BOILED!
[karlgoethebier]: OK, at least a cool song: https://www. youtube.com/watch? v=jU4caMqKssg

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (9)
As of 2017-10-21 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (270 votes). Check out past polls.

    Notices?