r19271: Test the "hack" for "Domain Users" as agreed with
commit91b40e25cc38ed6e8df9e448da975d3e202d919f
authorJeremy Allison <jra@samba.org>
Sat, 14 Oct 2006 00:33:03 +0000 (14 00:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:27 +0000 (10 12:15 -0500)
tree73bc428e011afb7f51d260bd37bcd888a4778924
parent9b8e179fcc1fb877e8601bfd242ee1fd615b554c
r19271: Test the "hack" for "Domain Users" as agreed with
Jerry.
If "enum users" is set to false, and the group being looked
up is the Domain Users SID: S-1-5-domain-513, then for the
list of members check if the querying user is in that group,
and if so only return that user as the gr_mem array.
We can change this to a different parameter than "enum users"
if neccessaey, or parameterize the group list we do this for.
Jeremy.
source/nsswitch/winbindd_group.c