--On Freitag, 10. Oktober 2003 09:43 -0400 Edward Brookhouse <[EMAIL PROTECTED]> wrote:
my $result=$ldap->bind("CN=$name",$LDAPSearchBase,password=>$password) || return "Can't bind:".$result->error;
shouldn't this be $ldap->bind("CN=$name,$LDAPSearchBase", password => $password) ie the first parameter to bind must the the DN. You should probably also check $result->code before unbinding.
Norbert