diff --git a/lib/fudo/ldap.nix b/lib/fudo/ldap.nix index 58d7002..68fe77a 100644 --- a/lib/fudo/ldap.nix +++ b/lib/fudo/ldap.nix @@ -49,7 +49,7 @@ let userPassword: ${opts.ldap-hashed-passwd} mail: ${if (opts.email != null) then opts.email else ""} sn: ${if (opts.surname != null) then opts.surname else name} - '' ++ (optionalString (opts.given-name != null) '' + '' + (optionalString (opts.given-name != null) '' givenName: ${opts.given-name} '');