s3:auth: add the "Unix Groups" sid for the primary gid
commit88c8499ccc07fed5cfe263ced2309b50efc83c40
authorStefan Metzmacher <metze@samba.org>
Fri, 2 Mar 2018 15:37:58 +0000 (2 16:37 +0100)
committerStefan Metzmacher <metze@samba.org>
Tue, 20 Mar 2018 20:28:30 +0000 (20 21:28 +0100)
treeba9fe8820e357bdf4f8084d6722c43f3e953ed3e
parenta67e3d00169d220bfb085c465f073214eb26636a
s3:auth: add the "Unix Groups" sid for the primary gid

The primary gid might not be in the gid array.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13328

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit f3ca3e71cc35876df47e31ec9c3643308add2405)
source3/auth/auth_util.c