summaryrefslogtreecommitdiffstats
path: root/source/n/nss-pam-ldapd
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/nss-pam-ldapd')
-rwxr-xr-xsource/n/nss-pam-ldapd/nss-pam-ldapd.SlackBuild2
-rw-r--r--source/n/nss-pam-ldapd/rc.nss-pam-ldapd1
2 files changed, 2 insertions, 1 deletions
diff --git a/source/n/nss-pam-ldapd/nss-pam-ldapd.SlackBuild b/source/n/nss-pam-ldapd/nss-pam-ldapd.SlackBuild
index a9343954c..cee7f9596 100755
--- a/source/n/nss-pam-ldapd/nss-pam-ldapd.SlackBuild
+++ b/source/n/nss-pam-ldapd/nss-pam-ldapd.SlackBuild
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=nss-pam-ldapd
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
diff --git a/source/n/nss-pam-ldapd/rc.nss-pam-ldapd b/source/n/nss-pam-ldapd/rc.nss-pam-ldapd
index 7a4252a38..d1c9d7ede 100644
--- a/source/n/nss-pam-ldapd/rc.nss-pam-ldapd
+++ b/source/n/nss-pam-ldapd/rc.nss-pam-ldapd
@@ -10,6 +10,7 @@ nslcd_start() {
if [ -x /usr/sbin/nslcd -a -r /etc/nslcd.conf ]; then
# Ensure /run directory exists:
mkdir -p /run/nslcd
+ chown -R nslcd:nslcd /run/nslcd
echo "Starting local LDAP name service daemon: /usr/sbin/nslcd"
/usr/sbin/nslcd
fi