winbindd: error handling in rpc_lookup_sids()
commitd0d8663eb2a00c83391d2433d445129ec7e9eb88
authorRalph Boehme <slow@samba.org>
Sun, 26 Mar 2017 06:22:13 +0000 (26 08:22 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Apr 2017 10:23:18 +0000 (20 12:23 +0200)
tree6ba5ab2bece0a5d3a399b8fda6ed4a0f76be0c2b
parenta3236314e1dae3e5429ffa8b812ad0a360305af9
winbindd: error handling in rpc_lookup_sids()

NT_STATUS_NONE_MAPPED and NT_STATUS_SOME_NOT_MAPPED should not be
treated as fatal error. We should continue processing the results and
not bail out.

In case we got NT_STATUS_NONE_MAPPED we must have to ensure all
lsa_TranslatedName are of type SID_NAME_UNKNOWN.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=12728

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 8dfbba59d768b10f6b088cfc49e5dbe6de4834e1)
source3/winbindd/winbindd_rpc.c