summaryrefslogtreecommitdiff
path: root/community/nss-pam-ldapd
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/nss-pam-ldapd
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
Diffstat (limited to 'community/nss-pam-ldapd')
-rw-r--r--community/nss-pam-ldapd/PKGBUILD2
-rw-r--r--community/nss-pam-ldapd/nss-pam-ldapd.install5
2 files changed, 3 insertions, 4 deletions
diff --git a/community/nss-pam-ldapd/PKGBUILD b/community/nss-pam-ldapd/PKGBUILD
index 773c57b2f..8a32d9c79 100644
--- a/community/nss-pam-ldapd/PKGBUILD
+++ b/community/nss-pam-ldapd/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=nss-pam-ldapd
pkgver=0.8.13
-pkgrel=4
+pkgrel=5
pkgdesc='LDAP module for NSS and PAM'
arch=('i686' 'x86_64')
url="http://arthurdejong.org/$pkgname/"
diff --git a/community/nss-pam-ldapd/nss-pam-ldapd.install b/community/nss-pam-ldapd/nss-pam-ldapd.install
index a8b93f218..e4b0a1f1d 100644
--- a/community/nss-pam-ldapd/nss-pam-ldapd.install
+++ b/community/nss-pam-ldapd/nss-pam-ldapd.install
@@ -1,12 +1,11 @@
post_install() {
- getent passwd nslcd >> /dev/null || useradd -r -M -d /var/run/nslcd -s /bin/false nslcd
+ getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd
}
post_upgrade() {
- getent passwd nslcd >> /dev/null || useradd -r -M -s /bin/false nslcd
+ getent passwd nslcd >> /dev/null || useradd -r -M -U -d /var/run/nslcd -s /bin/false nslcd
}
pre_remove() {
userdel nslcd >/dev/null 2>&1 || true
}
-