I got around those problems but I'm still having problems binding to the DB.
The script basically logs in and does a search for itself to make sure all is well. I cannot bind with the credentials given me by the LDAP server admin, but the search shows that the user is there. However if I add more leading underscores _or remove it, I still get a result. If I add extra letters such as _lldap.... then it fails the search. Is the leading underscore causing me grief on the bind as well? +++++++++++++++++++ code: $check_CN = "_ldapmonitor_test"; my $problem = $ldaps->bind ( 'cn=_ldapmonitor_test,ou=service,ou=users,ou=admin,o=noah', password=> 'oursupersecretpassword' ); print "dn: " . $problem->dn . "\n" ; print "error: " . $problem->error . "\n" ; print "done: " . $problem->done . "\n" ; print "is_error: " . $problem->is_error . "\n" ; $mesg = $ldaps->search ( # perform a search base => "ou=service,ou=users,ou=admin,o=noah", filter => "(&(cn=$check_CN))" ); print "search error: " . $mesg->error . "\n" ; ++++++++++++++++++++++++++++++++++ code output: dn: error: NDS error: failed authentication (-669) done: 1 is_error: 49 search error: Success