lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1564 - nss-pam-ldapd/debian

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1564 - nss-pam-ldapd/debian



Author: arthur
Date: Sat Dec 10 14:29:29 2011
New Revision: 1564
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1564&view=revision

Log:
ensure that the output of nss_list_configured() is space separated

Modified:
   nss-pam-ldapd/debian/libnss-ldapd.config
   nss-pam-ldapd/debian/libnss-ldapd.postrm

Modified: nss-pam-ldapd/debian/libnss-ldapd.config
==============================================================================
--- nss-pam-ldapd/debian/libnss-ldapd.config    Sat Dec 10 12:45:08 2011        
(r1563)
+++ nss-pam-ldapd/debian/libnss-ldapd.config    Sat Dec 10 14:29:29 2011        
(r1564)
@@ -19,7 +19,8 @@
 {
   sed -n \
       
's/^[[:space:]]*\([a-z]*\)[[:space:]]*:.*[[:space:]]ldap\([[:space:]].*\)\?/\1/p'
 \
-      /etc/nsswitch.conf
+      /etc/nsswitch.conf \
+    | xargs
 }
 
 # find name services that currently use LDAP and separate by commas

Modified: nss-pam-ldapd/debian/libnss-ldapd.postrm
==============================================================================
--- nss-pam-ldapd/debian/libnss-ldapd.postrm    Sat Dec 10 12:45:08 2011        
(r1563)
+++ nss-pam-ldapd/debian/libnss-ldapd.postrm    Sat Dec 10 14:29:29 2011        
(r1564)
@@ -8,7 +8,8 @@
 {
   sed -n \
       
's/^[[:space:]]*\([a-z]*\)[[:space:]]*:.*[[:space:]]ldap\([[:space:]].*\)\?/\1/p'
 \
-      /etc/nsswitch.conf
+      /etc/nsswitch.conf \
+    | xargs
 }
 
 # check whether the name is configure to do lookups through
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/