lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ldap: Add option for NSS integration

authored by

Markus Mueller and committed by
Franz Pletz
07c44b81 e04c3506

+7 -1
+6
nixos/modules/config/ldap.nix
··· 68 68 description = "Whether to include authentication against LDAP in login PAM"; 69 69 }; 70 70 71 + nsswitch = mkOption { 72 + type = types.bool; 73 + default = true; 74 + description = "Whether to include lookup against LDAP in NSS"; 75 + }; 76 + 71 77 server = mkOption { 72 78 example = "ldap://ldap.example.org/"; 73 79 description = "The URL of the LDAP server.";
+1 -1
nixos/modules/config/nsswitch.nix
··· 8 8 9 9 inherit (config.services.avahi) nssmdns; 10 10 inherit (config.services.samba) nsswins; 11 - ldap = config.users.ldap.enable; 11 + ldap = (config.users.ldap.enable && config.users.ldap.nsswitch); 12 12 13 13 in 14 14