--On Thursday, November 09, 2006 7:28 PM -0400 Hans Poo <[EMAIL PROTECTED]> wrote:
Thanks again Quanah, but snip, it doesn't work, i've put: replace=>{'userPassword'=>"{MD5}foo"} But in the database i get: userPassword:: e01ENX1mb28= ...that again is: perl -MMIME::Base64 -e 'print decode_base64 ("e01ENX1mb28="), "\n"; ' {MD5}foo No matter what i give, it always get base64 encoded, it seems that Net::LDAP doesn't respect the "header of the password: {MD5} in this case," that gives the encoding.
I don't understand why you think that value is wrong. Because it isn't, it is correct. The *entire string* is *supposed to be* base64 encoded. I see nothing wrong with the value you've presented...
--Quanah -- Quanah Gibson-Mount Principal Software Developer ITS/Shared Application Services Stanford University GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html