Move pass_attrs into passdb clause...
This commit is contained in:
parent
6fb4b43428
commit
f1b38d7524
|
@ -357,6 +357,7 @@ in {
|
|||
passdb {
|
||||
driver = ldap
|
||||
args = ${cfg.ldap-conf}
|
||||
pass_attrs = cn=user
|
||||
}
|
||||
|
||||
# All users map to one actual system user
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue