From 6893ce148ff45347e105b7b58629b05265c59dc5 Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 30 Sep 2023 10:33:39 -0700 Subject: [PATCH] Try a different class... --- mail-server.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail-server.nix b/mail-server.nix index c3e7b71..7b4b705 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -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_filter = (&(objectClass=user)(cn=%n))" + "user_filter = (&(objectClass=organizationalPerson)(cn=%n))" ]); target-file = "/run/dovecot-secret/ldap.conf"; };