diff options
Diffstat (limited to 'community/nss-pam-ldapd')
-rw-r--r-- | community/nss-pam-ldapd/PKGBUILD | 2 | ||||
-rw-r--r-- | community/nss-pam-ldapd/nss-pam-ldapd.install | 5 |
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 } - |