And this'll be back to failing again...

This commit is contained in:
niten 2023-10-01 14:23:19 -07:00
parent 4d54a95d59
commit 66128a5cd2
2 changed files with 3 additions and 2 deletions

View File

@ -356,6 +356,7 @@ in {
passdb {
driver = ldap
user_format = %n
args = ${cfg.ldap-conf}
}

View File

@ -209,8 +209,8 @@ in {
"auth_bind = yes"
"auth_bind_userdn = cn=%n,${cfg.ldap.member-ou},${cfg.ldap.base}"
"base = ${cfg.ldap.base}"
"user_filter = (&(objectClass=organizationalPerson))"
"pass_filter = (&(objectClass=organizationalPerson))"
"user_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_attrs = =user=%{ldap:cn}"
"user_attrs = =user=%{ldap:cn}"
]);