Try user_attrs in ldap config

This commit is contained in:
niten 2023-09-30 14:45:32 -07:00
parent 41b52ec070
commit 907970a86b
1 changed files with 1 additions and 0 deletions

View File

@ -210,6 +210,7 @@ in {
"auth_bind_userdn = cn=%u,${cfg.ldap.member-ou},${cfg.ldap.base}"
"base = ${cfg.ldap.base}"
"user_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"user_attrs = =user=%n"
]);
target-file = "/run/dovecot-secret/ldap.conf";
};