winbindd: error handling in rpc_lookup_sids()
authorRalph Boehme <slow@samba.org>
Sun, 26 Mar 2017 06:22:13 +0000 (08:22 +0200)
committerJeremy Allison <jra@samba.org>
Fri, 7 Apr 2017 20:52:24 +0000 (22:52 +0200)
commit8dfbba59d768b10f6b088cfc49e5dbe6de4834e1
tree89e85d865ed53fd2eae714af79be1c1fda554c62
parent416c74e8c89dc2fb2083beaaa9ac8a6e975ec873
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>
source3/winbindd/winbindd_rpc.c