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.
From package "libnss-ldapd" - postinst:
nss_is_enabled() ]]*'$name' [[:space: ]]*:.*ldap. *' /etc/nsswitch.conf
{
name="$1"
grep -q '^[[:space:
}
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.