mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-26 07:20:11 +01:00
Added missing ldap port the 2nd new LDAP() call
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
1ea62b8446
commit
eae385616f
@ -221,7 +221,7 @@ class ModelUserAuth extends Model {
|
|||||||
if(isset($query->row['dn']) && $query->row['dn']) {
|
if(isset($query->row['dn']) && $query->row['dn']) {
|
||||||
$a = $query->row;
|
$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()); }
|
if(LOG_LEVEL >= NORMAL) { syslog(LOG_INFO, "ldap auth against '" . $ldap_host . "', dn: '" . $a['dn'] . "', result: " . $ldap_auth->is_bind_ok()); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user