Merge pull request #78960 from aanderse/nslcd

nixos/ldap: remove redundant configuration options
This commit is contained in:
Florian Klink 2020-02-03 19:42:47 +01:00 committed by GitHub
commit d4a951f31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,8 +28,6 @@ let
}; };
nslcdConfig = writeText "nslcd.conf" '' nslcdConfig = writeText "nslcd.conf" ''
uid nslcd
gid nslcd
uri ${cfg.server} uri ${cfg.server}
base ${cfg.base} base ${cfg.base}
timelimit ${toString cfg.timeLimit} timelimit ${toString cfg.timeLimit}
@ -282,6 +280,7 @@ in
Group = "nslcd"; Group = "nslcd";
RuntimeDirectory = [ "nslcd" ]; RuntimeDirectory = [ "nslcd" ];
PIDFile = "/run/nslcd/nslcd.pid"; PIDFile = "/run/nslcd/nslcd.pid";
AmbientCapabilities = "CAP_SYS_RESOURCE";
}; };
}; };