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
commit3f7d8e5dd00ac54891232df990981101ecce601e (patch)
treeb7bddbece682eb3876df7baa3628622da0f107bf /server
parent[blacklists] Sorry, forgot something: '+ ' in empty lines. (diff)
downloadtm-scripts-3f7d8e5dd00ac54891232df990981101ecce601e.tar.gz
tm-scripts-3f7d8e5dd00ac54891232df990981101ecce601e.tar.xz
tm-scripts-3f7d8e5dd00ac54891232df990981101ecce601e.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