Put user_attrs in the wrong place

This commit is contained in:
niten 2023-09-30 09:38:10 -07:00
parent f29d321673
commit 03eb9e16c8
2 changed files with 1 additions and 2 deletions

View File

@ -245,6 +245,7 @@ in {
"auth_bind = yes"
"auth_bind_userdn = cn=%u,${cfg.ldap.member-ou},${cfg.ldap.base}"
"base = ${cfg.ldap.base}"
"user_attrs = =user=%{ldap:cn}"
]);
target-file = "/run/dovecot-secret/ldap.conf";
};

View File

@ -200,8 +200,6 @@ in {
auth_mechanisms = login plain
user_attrs = =user=%{ldap:cn}
passdb {
driver = ldap
args = ${cfg.ldap-conf}