Merge pull request #78960 from aanderse/nslcd
nixos/ldap: remove redundant configuration options
commitd4a951f31d2d6a542f2fa6387df2a269f6b9e042
authorFlorian Klink <flokli@flokli.de>
dateMon 3 Feb 2020, 19:42 (7 years ago)
parent150f4a928bedc5
nixos/modules/config/ldap.nix+1−2
@@ -28,8 +28,6 @@ let
2828 };
2929
3030 nslcdConfig = writeText "nslcd.conf" ''
31− uid nslcd
32− gid nslcd
3331 uri ${cfg.server}
3432 base ${cfg.base}
3533 timelimit ${toString cfg.timeLimit}
@@ -282,6 +280,7 @@ in
282280 Group = "nslcd";
283281 RuntimeDirectory = [ "nslcd" ];
284282 PIDFile = "/run/nslcd/nslcd.pid";
283+ AmbientCapabilities = "CAP_SYS_RESOURCE";
285284 };
286285 };
287286