Removed extra code which reset the uri to what was stored int he LDAP Link.
This commit is contained in:
parent
235bbd14d1
commit
4387ba382f
1 changed files with 0 additions and 1 deletions
|
|
@ -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});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue