Alternative way to specify pass_attrs?

This commit is contained in:
niten 2023-10-01 08:09:51 -07:00
parent ab6d2e2244
commit 6fb4b43428
1 changed files with 1 additions and 1 deletions

View File

@ -211,7 +211,7 @@ in {
"base = ${cfg.ldap.base}" "base = ${cfg.ldap.base}"
"user_filter = (&(objectClass=organizationalPerson)(cn=%n))" "user_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_filter = (&(objectClass=organizationalPerson)(cn=%n))" "pass_filter = (&(objectClass=organizationalPerson)(cn=%n))"
"pass_attrs = =user=%{ldap:cn}" "pass_attrs = cn=user"
]); ]);
target-file = "/run/dovecot-secret/ldap.conf"; target-file = "/run/dovecot-secret/ldap.conf";
}; };