Change filter

This commit is contained in:
niten 2023-09-30 10:16:22 -07:00
parent 03eb9e16c8
commit 6b31037b23

View File

@ -245,7 +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}"
"user_filter = (&(objectClass=user)(cn=%n))"
]);
target-file = "/run/dovecot-secret/ldap.conf";
};