@@ -331,7 +331,7 sub is_member { | |||||
331 | $sthldap->execute($auth_source_id); |
|
331 | $sthldap->execute($auth_source_id); | |
332 | while (my @rowldap = $sthldap->fetchrow_array) { |
|
332 | while (my @rowldap = $sthldap->fetchrow_array) { | |
333 | my $ldap = Authen::Simple::LDAP->new( |
|
333 | my $ldap = Authen::Simple::LDAP->new( | |
334 | host => ($rowldap[2] eq "1" || $rowldap[2] eq "t") ? "ldaps://$rowldap[0]" : $rowldap[0], |
|
334 | host => ($rowldap[2] eq "1" || $rowldap[2] eq "t") ? "ldaps://$rowldap[0]:$rowldap[1]" : $rowldap[0], | |
335 | port => $rowldap[1], |
|
335 | port => $rowldap[1], | |
336 | basedn => $rowldap[5], |
|
336 | basedn => $rowldap[5], | |
337 | binddn => $rowldap[3] ? $rowldap[3] : "", |
|
337 | binddn => $rowldap[3] ? $rowldap[3] : "", |
General Comments 0
You need to be logged in to leave comments.
Login now