projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a03d52
)
Fix auto-selected port
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 8 Feb 2009 02:40:39 +0000
(
02:40
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 8 Feb 2009 02:40:39 +0000
(
02:40
+0000)
ldap-client/ldap-client-lib.pl
patch
|
blob
|
history
diff --git
a/ldap-client/ldap-client-lib.pl
b/ldap-client/ldap-client-lib.pl
index
0bf975d
..
59b33c7
100644
(file)
--- a/
ldap-client/ldap-client-lib.pl
+++ b/
ldap-client/ldap-client-lib.pl
@@
-247,7
+247,7
@@
else {
$ssl eq 'start_tls' ? 2 : 0;
local @hosts = split(/[ ,]+/, &find_svalue("host", $conf));
local $port = &find_svalue("port", $conf) ||
-
$use_ssl ? 636 : 389
;
+
($use_ssl == 1 ? 636 : 389)
;
@hosts = ( "localhost" ) if (!@hosts);
foreach $host (@hosts) {