Put user_attrs in the wrong place
This commit is contained in:
parent
f29d321673
commit
03eb9e16c8
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -200,8 +200,6 @@ in {
|
|||
|
||||
auth_mechanisms = login plain
|
||||
|
||||
user_attrs = =user=%{ldap:cn}
|
||||
|
||||
passdb {
|
||||
driver = ldap
|
||||
args = ${cfg.ldap-conf}
|
||||
|
|
Loading…
Reference in New Issue