summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Rettberg2013-09-13 17:28:33 +0200
committerSimon Rettberg2013-09-13 17:28:33 +0200
commit5ef291ccd91aff5cbe86f37b68b8f72139f22bbe (patch)
treeab2117bd461618acf8eee0aa895cb6bc448ec8f8 /server
parent[blacklists] Sorry, forgot something: '+ ' in empty lines. (diff)
downloadtm-scripts-5ef291ccd91aff5cbe86f37b68b8f72139f22bbe.tar.gz
tm-scripts-5ef291ccd91aff5cbe86f37b68b8f72139f22bbe.tar.xz
tm-scripts-5ef291ccd91aff5cbe86f37b68b8f72139f22bbe.zip
[pam-freiburg] nscd is not configured to cache hostnames, so don't patch nsswitch.conf to use it
Diffstat (limited to 'server')
-rw-r--r--server/modules/pam-freiburg/etc/systemd/system/activate-nss-ldap.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/modules/pam-freiburg/etc/systemd/system/activate-nss-ldap.service b/server/modules/pam-freiburg/etc/systemd/system/activate-nss-ldap.service
index bbac775a..664f7dd7 100644
--- a/server/modules/pam-freiburg/etc/systemd/system/activate-nss-ldap.service
+++ b/server/modules/pam-freiburg/etc/systemd/system/activate-nss-ldap.service
@@ -5,6 +5,6 @@ Before=graphical.target
[Service]
Type=oneshot
ExecStart=-/opt/openslx/bin/mkdir /tmp/ldap
-ExecStart=/opt/openslx/bin/sed -i -e 's/^passwd:.*$/passwd:\t\tcache files ldap/;s/^group:.*$/group:\t\tcache files ldap/;s/^hosts:.*files/hosts:\t\tcache files/' /etc/nsswitch.conf
+ExecStart=/opt/openslx/bin/sed -i -e 's/^passwd:.*$/passwd:\t\tcache files ldap/;s/^group:.*$/group:\t\tcache files ldap/' /etc/nsswitch.conf
ExecStart=/usr/bin/systemctl restart nscd