r19271: Test the "hack" for "Domain Users" as agreed with
commit25f0f624f83ff3ac1eae6736b6f92b97b357291f
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)
tree6a9af506c9ef1f7465c015fc5abba5e6e88ebc6d
parent876be25055e0cc6f2c18ddfc377151b2ca68a54f
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.
(This used to be commit 91b40e25cc38ed6e8df9e448da975d3e202d919f)
source3/nsswitch/winbindd_group.c