From b8e9dc872f568ef361285cacc2a50bda79bd804f Mon Sep 17 00:00:00 2001 From: Janos SUTO Date: Mon, 15 Apr 2019 22:34:31 +0200 Subject: [PATCH] gui: Added ldap port parameter to new LDAP() in ntlm_auth() 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 df74dccb..8fdd94d6 100644 --- a/webui/model/user/auth.php +++ b/webui/model/user/auth.php @@ -473,7 +473,7 @@ class ModelUserAuth extends Model { if(LOG_LEVEL >= NORMAL) { syslog(LOG_INFO, "sso login: $sso_user"); } - $ldap = new LDAP(LDAP_HOST, LDAP_HELPER_DN, LDAP_HELPER_PASSWORD); + $ldap = new LDAP(LDAP_HOST, LDAP_PORT, LDAP_HELPER_DN, LDAP_HELPER_PASSWORD); if($ldap->is_bind_ok()) {