From package "libnss-ldapd" - postinst:

nss_is_enabled()
{
  name="$1"
  grep -q '^[[:space:]]*'$name'[[:space:]]*:.*ldap.*' /etc/nsswitch.conf
}


In the above regex, the * match on the first space will make this function 
incorrectly indicate that "group: mineldap" has the "ldap" module enabled. It 
seems that if I had selected to enable the "group" nss entry, it would've 
incorrectly not enabled the ldap module.

Throughout the rest of the file, "[[:space:]]*$name" is used several
more times, leading to my situation above.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2078967

Title:
  Package reconfigure can break NSS for unrelated modules

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/2078967/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to