Fix strict error on ldap auth-fail, ldap is default auth now
refs #3769 refs #4463
This commit is contained in:
parent
306a51271b
commit
845654b77f
|
@ -1,4 +1,24 @@
|
|||
[users]
|
||||
backend=ldap
|
||||
hostname=localhost
|
||||
root_dn="ou=people,dc=icinga,dc=org"
|
||||
bind_dn="cn=admin,cn=config"
|
||||
bind_pw=admin
|
||||
user_class=inetOrgPerson
|
||||
user_name_attribute=uid
|
||||
|
||||
|
||||
[users-mysql]
|
||||
backend=Db
|
||||
dbtype=mysql
|
||||
table=account
|
||||
host=localhost
|
||||
password=icinga
|
||||
user=icingaweb
|
||||
db=icingaweb
|
||||
|
||||
|
||||
[users-pgsql]
|
||||
backend=Db
|
||||
dbtype=pgsql
|
||||
table=account
|
||||
|
@ -6,9 +26,3 @@ host=localhost
|
|||
password=icinga
|
||||
user=icingaweb
|
||||
db=icingaweb
|
||||
|
||||
root_dn="ou=people,dc=icinga,dc=org"
|
||||
bind_dn="cn=admin,cn=config"
|
||||
bind_pw=admin
|
||||
user_class=inetOrgPerson
|
||||
user_name_attribute=uid
|
|
@ -402,9 +402,9 @@ class Connection
|
|||
// TODO: Is it OK to have no capabilities?
|
||||
return $cap;
|
||||
}
|
||||
|
||||
$ldapAttributes = ldap_get_attributes($ds, $entry);
|
||||
$result = $this->cleanupAttributes(
|
||||
ldap_get_attributes($ds, $entry)
|
||||
$ldapAttributes
|
||||
);
|
||||
/*
|
||||
if (isset($result->dnsHostName)) {
|
||||
|
|
Loading…
Reference in New Issue