lists.arthurdejong.org
RSS feed

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

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

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



Author: arthur
Date: Fri May 13 09:48:56 2011
New Revision: 1456
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1456

Log:
fix domain to basedn expansion when having more than two domain parts (patch by 
Per Carlson)

Modified:
   nss-pam-ldapd/debian/nslcd.config

Modified: nss-pam-ldapd/debian/nslcd.config
==============================================================================
--- nss-pam-ldapd/debian/nslcd.config   Fri May 13 09:04:13 2011        (r1455)
+++ nss-pam-ldapd/debian/nslcd.config   Fri May 13 09:48:56 2011        (r1456)
@@ -51,7 +51,7 @@
     # domain name to build the default base
     if [ -n "$domain" ]
     then
-      searchbase=`echo "$domain" | sed 's/^/dc=/;s/\./,dc=/'` || true
+      searchbase=`echo "$domain" | sed 's/^/dc=/;s/\./,dc=/g'` || true
       db_set nslcd/ldap-base "$searchbase"
     fi
   fi
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits