Fix show-stopper for 3.2. Smbd depends on group SID
commit44e49a59c37cb65c0a7e596b1bf676a664c1e4a2
authorJeremy Allison <jra@samba.org>
Fri, 15 Aug 2008 04:53:55 +0000 (14 21:53 -0700)
committerKarolin Seeger <kseeger@samba.org>
Fri, 15 Aug 2008 06:15:33 +0000 (15 08:15 +0200)
treed6097902546632c0b5c6141524b682177ce2b04b
parent3bb258764a6199603b66f1b6876cc0a23d332b40
Fix show-stopper for 3.2. Smbd depends on group SID
position zero being the primary group sid. Authenicating
via winbindd call returned a non-sorted sid list. This
fixes is for both a winbindd call and a pac list from
an info3 struct. Without this we mess up the
primary group associated with created files. Found by
Herb.
Jeremy.
(cherry picked from commit 5cfa78d6e45477cb952d3b12cc914635842d6251)
source/auth/auth_util.c