http://www.perlmonks.org?node_id=658297


in reply to Problem with LDAP modification

Your $mesg variable is a Net::LDAP::Message object has a variety of error methods associated with it. I'd start there.

And I'm not 100% certain, but I think the {CRYPT} string needs to be all uppercase.

--
naChoZ

Therapy is expensive. Popping bubble wrap is cheap. You choose.

Replies are listed 'Best First'.
Re^2: Problem with LDAP modification
by Anonymous Monk on Dec 29, 2007 at 01:15 UTC
    On some servers, you cannot update a userPassword string directly(I believe you need to use exop) on yet others, there is password history checking, and a mod will work for one user and not for the next. I'd recommend checking with a command line client to prevent wasting much time.