Move pass_attrs into passdb clause...

This commit is contained in:
niten 2023-10-01 08:30:48 -07:00
parent 6fb4b43428
commit f1b38d7524
2 changed files with 1 additions and 1 deletions

View File

@ -357,6 +357,7 @@ in {
passdb {
driver = ldap
args = ${cfg.ldap-conf}
pass_attrs = cn=user
}
# All users map to one actual system user

View File

@ -211,7 +211,6 @@ in {
"base = ${cfg.ldap.base}"
"user_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_attrs = cn=user"
]);
target-file = "/run/dovecot-secret/ldap.conf";
};