Removed extra code which reset the uri to what was stored int he LDAP Link.

This commit is contained in:
Frank Dillon 2009-04-14 17:27:22 +00:00
parent 235bbd14d1
commit 4387ba382f

View file

@ -66,7 +66,6 @@ sub _isValidLDAPUser {
# Create an LDAP object
if ($ldap = Net::LDAP->new($uri->host, (port=>$uri->port))) {
my $uri = $ldapLink->getURI;
# Bind as a proxy user to search for the user trying to login
if($connection->{connectDn}) {
$auth = $ldap->bind(dn=>$connection->{connectDn}, password=>$connection->{identifier});