Revert "s3:auth make sure the primary group sid is usable"
commit68aedaf59787971cd9520cef3a345d99da079ca3
authorAndrew Bartlett <abartlet@samba.org>
Sun, 15 Jul 2012 02:22:44 +0000 (15 12:22 +1000)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Aug 2012 17:58:02 +0000 (15 19:58 +0200)
tree73487fe6cccf0fcc071f0165a6d884fc2006b392
parentd80fbbea8ec77c0bda0e3fb9eaed2f170784ea7d
Revert "s3:auth make sure the primary group sid is usable"

This reverts commit 00089fd74af740f832573d904312854e494a869e.

The issue with this patch, which I did sign off on, is that for the
domain member case, we already know that the SID is reasonable and
valid, and we indeed rely on that, because we keep it as an additonal
group anyway.  The primary group is not so special that we need to do
extra validation.

Calling this function may put a user into the domain 'domain users'
group, even if they are not in that group to start with.

Andrew Bartlett

Fix bug #9066 - Domain Users incorrectly added as addition group on domain
members.
source3/auth/auth_util.c