From 3ddab16dae4ed68c8db0f3bbe838a82e0c9696b6 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Tue, 13 Jun 2023 20:17:20 +0200 Subject: [PATCH] use uid as lpad in --- modules/mail.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mail.nix b/modules/mail.nix index 408c03a..5d82838 100644 --- a/modules/mail.nix +++ b/modules/mail.nix @@ -19,8 +19,8 @@ let ldap_version = 3 scope = subtree base = dc=ifsr, dc=de - user_filter = (&(objectClass=posixAccount)(mail=%u)) - pass_filter = (&(objectClass=posixAccount)(mail=%u)) + user_filter = (&(objectClass=posixAccount)(uid=%n)) + pass_filter = (&(objectClass=posixAccount)(uid=%n)) ''; in {