s3:auth make sure the primary group sid is usable
authorSimo Sorce <ssorce@redhat.com>
Sat, 29 May 2010 15:29:29 +0000 (11:29 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 7 Jun 2010 12:53:08 +0000 (22:53 +1000)
commit00089fd74af740f832573d904312854e494a869e
treed6504e469cdbd3499a86721168c0d795e6863ab4
parent048575defba064a8d9f0e4eb542a299dc8730327
s3:auth make sure the primary group sid is usable

This function was previously performed under the cover by converting
back and forth from info3 to samu and then later from samu to info3.

Since we now shortcircuit that in some cases, check explicitly using
get_primary_group_sid()

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth_util.c