From eae385616f813cb91876adb6bc05323b17dba6aa Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Sun, 9 Sep 2018 14:53:29 +0000 Subject: [PATCH] Added missing ldap port the 2nd new LDAP() call Signed-off-by: Janos SUTO --- webui/model/user/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui/model/user/auth.php b/webui/model/user/auth.php index 034b0543..3b11513d 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -221,7 +221,7 @@ class ModelUserAuth extends Model { if(isset($query->row['dn']) && $query->row['dn']) { $a = $query->row; - $ldap_auth = new LDAP($ldap_host, $a['dn'], $password); + $ldap_auth = new LDAP($ldap_host, $ldap_port, $a['dn'], $password); if(LOG_LEVEL >= NORMAL) { syslog(LOG_INFO, "ldap auth against '" . $ldap_host . "', dn: '" . $a['dn'] . "', result: " . $ldap_auth->is_bind_ok()); }