summaryrefslogtreecommitdiffstats
path: root/server/modules/pam-freiburg
diff options
context:
space:
mode:
authorSimon Rettberg2013-09-13 17:28:33 +0200
committerJonathan Bauer2013-09-30 13:26:30 +0200
commit70f5bde2c5b7e9dc8a772497dbfdc47cb6ee9ddc (patch)
tree3d658cb6fa557680daa4a06562dcabc699645e4c /server/modules/pam-freiburg
parent[blacklists] Sorry, forgot something: '+ ' in empty lines. (diff)
downloadtm-scripts-70f5bde2c5b7e9dc8a772497dbfdc47cb6ee9ddc.tar.gz
tm-scripts-70f5bde2c5b7e9dc8a772497dbfdc47cb6ee9ddc.tar.xz
tm-scripts-70f5bde2c5b7e9dc8a772497dbfdc47cb6ee9ddc.zip
[pam-freiburg] nscd is not configured to cache hostnames, so don't patch nsswitch.conf to use it
Diffstat (limited to 'server/modules/pam-freiburg')
-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