nixpkgs/nixos/doc/manual/release-notes
Florian Klink 8817bbefdb nixos/ldap: set proper User= and Group= for nslcd service
eb90d97009 broke nslcd, as /run/nslcd was
created/chowned as root user, while nslcd wants to do parts as nslcd
user.

This commit changes the nslcd to run with the proper uid/gid from the
start (through User= and Group=), so the RuntimeDirectory has proper
permissions, too.

In some cases, secrets are baked into nslcd's config file during startup
(so we don't want to provide it from the store).

This config file is normally hard-wired to /etc/nslcd.conf, but we don't
want to use PermissionsStartOnly anymore (#56265), and activation
scripts are ugly, so redirect /etc/nslcd.conf to /run/nslcd/nslcd.conf,
which now gets provisioned inside ExecStartPre=.

This change requires the files referenced to in
users.ldap.bind.passwordFile and users.ldap.daemon.rootpwmodpwFile to be
readable by the nslcd user (in the non-nslcd case, this was already the
case for users.ldap.bind.passwordFile)

fixes #57783
2019-03-28 13:08:47 +01:00
..
release-notes.xml 19.09 is Loris. 2019-02-25 23:21:14 +01:00
rl-1310.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1404.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1412.xml treewide: Fix broken Gmane URLs 2018-12-25 22:34:55 -05:00
rl-1509.xml docs: format 2018-09-29 20:51:11 -04:00
rl-1603.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1609.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1703.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1709.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1803.xml nixos docs: format =) 2018-05-01 19:57:09 -04:00
rl-1809.xml nixos docs: run the formatting tool (no content change) 2019-03-22 14:44:11 +01:00
rl-1903.xml nixos/ldap: set proper User= and Group= for nslcd service 2019-03-28 13:08:47 +01:00
rl-1909.xml Merge branch 'master' into postgresql-socket-in-run 2019-03-25 01:06:59 +02:00