Revert "s3:auth make sure the primary group sid is usable"
authorAndrew Bartlett <abartlet@samba.org>
Sun, 15 Jul 2012 02:22:44 +0000 (12:22 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Jul 2012 02:04:20 +0000 (04:04 +0200)
commit38a47039cf05983df26ad6fed7470d83da56af3a
tree665f3c07a03e84d541c767ef3ffcd85853dc5e56
parentfaa9b2e1b1c6a02add3295f4b2b61b887b017ded
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
source3/auth/auth_util.c