This bug was fixed in the package ldapscripts - 2.0.5-1ubuntu1
---
ldapscripts (2.0.5-1ubuntu1) trusty; urgency=low
* Merge from Debian unstable. Remaining changes:
- debian/runtime.debian: replaced /etc/libnss-ldap.conf references by
/etc/ldap.conf, many thanks Ahmed El-
I found a fix - edit file /usr/share/ldapscripts/runtime.debian
find line:
local value="$(awk "/^[ \t]*$field/ {sub(/^[ \t]*$field[ \t]*/,\"\");
sub(/[ \t]*(#.*)?\$/, \"\"); print \$0}" "$conffile")"
and replace with:
local value=$(awk "/^[ \t]*$field/ {sub(/^[ \t]*$field[ \t]*/,\