I'm another one who got bit (an ldap server with a - in the name).
- is a valid character in a hostname, but % and / are not. Here's a
patch:
--- debian/libnss-ldap.postinst.orig 2006-07-11 13:41:04.481500312 -0700
+++ debian/libnss-ldap.postinst 2006-07-11 13:41:30.918481280 -0700
@@ -45,7 +45,7 @@
# i really need a better way to do this...
# currently we replace only the first match, we need a better
# way of dealing with multiple hits.
- perl -i -p -e "s-$replacestring-$parameter $value-i
+ perl -i -p -e "s%$replacestring%$parameter $value%i
and \$match=1 if (\$match != 1)" $CONFFILE
fi
}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]