Patch #4065 ยป Redmine.pm.diff
Redmine.pm.new 2009-10-21 10:57:27.000000000 +0200 | ||
---|---|---|
295 | 295 |
$sthldap->execute($auth_source_id); |
296 | 296 |
while (my @rowldap = $sthldap->fetchrow_array) { |
297 | 297 |
my $ldap = Authen::Simple::LDAP->new( |
298 |
host => ($rowldap[2] == 1 || $rowldap[2] eq "t") ? "ldaps://$rowldap[0]" : $rowldap[0], |
|
298 |
host => ($rowldap[2] == 1 || $rowldap[2] eq "t") ? "ldaps://$rowldap[0]:$rowldap[1]" : $rowldap[0],
|
|
299 | 299 |
port => $rowldap[1], |
300 | 300 |
basedn => $rowldap[5], |
301 | 301 |
binddn => $rowldap[3] ? $rowldap[3] : "", |