forcemerge 626571 690213 thanks On Thu, 2012-10-11 at 11:00 +0200, Henrik Langos wrote: > During installation the /var/lib/dpkg/info/nslcd.config script tries > to guess the LDAP search base from the systems domain name: > > 37 # if the ldap-base value doesn't seem to be preseeded, try to use > the > 38 # domain name to build the default base > 39 if [ -n "$domain" ] > 40 then > 41 searchbase=`echo "$domain" | sed 's/^/dc=/;s/\./,dc=/'` || true > 42 db_set nslcd/ldap-base "$searchbase" > 43 fi > > This works nicely unless your domain hase more than one dot. > > foo.bar works > foo.bar.baz fails > > Reason is a missing "global" option on the sed search-and-replace command.
Thanks for pointing this out. It was actually reported in #626571 before and fixed in nss-pam-ldapd 0.8.3. I have put this on the list of possible things to fix for a next squeeze update if one is going to be issued. Thanks, -- -- arthur - adej...@debian.org - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part