Fix show-stopper for 3.2. Smbd depends on group SID
commit505263847a9d9f43e7feaf03669e55fac6c3940c
authorJeremy Allison <jra@samba.org>
Fri, 15 Aug 2008 04:54:14 +0000 (14 21:54 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 19 Aug 2008 09:31:35 +0000 (19 11:31 +0200)
treec83ee0ee41ed8ea51359f537092f54550027cc32
parentd9e8557c450ffd075153ed0c650c50ce6a58c3b7
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 8b44a19c6cf2bc74fcfa4fbc6199e50acd47e0d7)
source/auth/auth_util.c