I don't see in your script a place where you are encrypting the password
prior to submitting it to the LDAP server.  We do something similar but we
encrypt the password prior to updating LDAP.  A sample of the code is below:

use Mozilla::LDAP::Conn;
use Digest::SHA1  qw(sha1 sha1_hex sha1_base64);

Reply via email to