Fix bug 6097
authorVolker Lendecke <vl@samba.org>
Tue, 24 Mar 2009 10:07:16 +0000 (11:07 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Apr 2009 07:07:37 +0000 (09:07 +0200)
commit09a63072def428ff81d035bda6b09e9a234f3a35
treed2e0fcfe1eb0fa82a2021d1475bc5cbe02c720bf
parentefc41b5a0e01d8ff4db6dc8113cabef2fe101b33
Fix bug 6097

A client sent a SID with authority 0 and 0 sub-authorities. W2k3 replies with
NT_STATUS_INVALID_SID, even if other SIDs in the list are valid.

Thanks to Pavel <wylda@volny.cz> for the bug report!
(cherry picked from commit e4f3d75432dbe372e164962a993b6e882fe44e83)
source3/passdb/lookup_sid.c
source3/rpc_server/srv_lsa_nt.c