diff --git a/mail-server.nix b/mail-server.nix index 8397ebd..fcf6eb2 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -211,7 +211,7 @@ in { "base = ${cfg.ldap.base}" "user_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"; };