summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
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