From b2d3ef23f297e6e7c8d4c7fde06597786ed96c15 Mon Sep 17 00:00:00 2001 From: niten Date: Wed, 6 Sep 2023 15:59:13 -0700 Subject: [PATCH] Apparently some emails are still null? --- lib/fudo/ldap.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fudo/ldap.nix b/lib/fudo/ldap.nix index ac25051..eb4a204 100644 --- a/lib/fudo/ldap.nix +++ b/lib/fudo/ldap.nix @@ -47,7 +47,7 @@ let shadowMax: 99999 shadowWarning: 7 userPassword: ${opts.ldap-hashed-passwd} - mail: ${opts.email} + mail: ${optionalString (opts.hasAttr email) opts.email} ''; systemUserLdif = base: name: opts: ''