From 70f5bde2c5b7e9dc8a772497dbfdc47cb6ee9ddc Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 13 Sep 2013 17:28:33 +0200 Subject: [pam-freiburg] nscd is not configured to cache hostnames, so don't patch nsswitch.conf to use it --- .../modules/pam-freiburg/etc/systemd/system/activate-nss-ldap.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') 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 -- cgit v1.2.3-55-g7522