Fix bug 6097
commited7e062d27c8100ebcd6418bb3a03a27e62316cf
authorVolker Lendecke <vl@samba.org>
Tue, 24 Mar 2009 10:07:16 +0000 (24 11:07 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 27 Mar 2009 13:15:53 +0000 (27 14:15 +0100)
tree883726521d25fef326bdac776c62c67aa2f039fa
parent8824f490f7d0a46544cb0f2397cd2758cba460dd
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 c38c80fcd3f63e60450fd95c27d842082e8e00fd)
source/passdb/lookup_sid.c
source/rpc_server/srv_lsa_nt.c