Skip to content

Commit

Permalink
Fix nss_disable_enumeration configuration
Browse files Browse the repository at this point in the history
This fixes a copy-paste bug where nss_disable_enumeration was
incorrectly handled. Fixes c0366d8.

Thanks Andrew W Elble for pointing this out.
  • Loading branch information
arthurdejong committed Feb 13, 2016
1 parent 525c996 commit b795f6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nslcd/cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1566,7 +1566,7 @@ static void cfg_read(const char *filename, struct ldap_config *cfg)
}
else if (strcasecmp(keyword, "nss_disable_enumeration") == 0)
{
cfg->nss_getgrent_skipmembers = get_boolean(filename, lnr, keyword, &line);
cfg->nss_disable_enumeration = get_boolean(filename, lnr, keyword, &line);
get_eol(filename, lnr, keyword, &line);
}
else if (strcasecmp(keyword, "validnames") == 0)
Expand Down

0 comments on commit b795f6c

Please sign in to comment.