From 8092bd4eda2dbe91615beced2b408b989a36635a Mon Sep 17 00:00:00 2001 From: niten Date: Sun, 1 Oct 2023 09:11:57 -0700 Subject: [PATCH] Uhh...ldap outpost can only filter on class --- mail-server.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mail-server.nix b/mail-server.nix index a2b3d18..cd2fbba 100644 --- a/mail-server.nix +++ b/mail-server.nix @@ -209,8 +209,8 @@ in { "auth_bind = yes" "auth_bind_userdn = cn=%n,${cfg.ldap.member-ou},${cfg.ldap.base}" "base = ${cfg.ldap.base}" - "user_filter = (&(objectClass=organizationalPerson)(cn=%n))" - "pass_filter = (&(objectClass=organizationalPerson)(cn=%n))" + #"user_filter = (&(objectClass=organizationalPerson)(cn=%n))" + #"pass_filter = (&(objectClass=organizationalPerson)(cn=%n))" "pass_attrs = =user=%{ldap:cn}" "user_attrs = =user=%{ldap:cn}" ]);