summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-04-10 22:13:46 +0000
committerJeremy Allison <jra@samba.org>2002-04-10 22:13:46 +0000
commit6a68627829a082c5c47bf0802d25c85641204d15 (patch)
treeaf569964d8e802ee6c024ad656098a12a1ef2269
parentff30ca35726c42b76a02ae6797ce22914235b4a3 (diff)
downloadsamba-6a68627829a082c5c47bf0802d25c85641204d15.tar.gz
samba-6a68627829a082c5c47bf0802d25c85641204d15.tar.xz
samba-6a68627829a082c5c47bf0802d25c85641204d15.zip
Fix for problem MikeN discovered (no CR#) with winbindd returning ok
when a NT_STATUS_NONE_MAPPED is returned but the SID_NAME_USE is SID DELETED or something similar. This cannot happen in 2.2.x or HEAD as they always return error on NONE_MAPPED. Jeremy.
-rw-r--r--source/rpc_client/cli_lsarpc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/rpc_client/cli_lsarpc.c b/source/rpc_client/cli_lsarpc.c
index 528d392fa1d..acd3aa0e5c5 100644
--- a/source/rpc_client/cli_lsarpc.c
+++ b/source/rpc_client/cli_lsarpc.c
@@ -818,8 +818,7 @@ BOOL lsa_lookup_sids(POLICY_HND *hnd,
p = rbuf.offset != 0;
if (p && r_l.status != 0 &&
- r_l.status != 0x107 &&
- r_l.status != (0xC0000000 | NT_STATUS_NONE_MAPPED))
+ r_l.status != 0x107)
{
/* report error code */
DEBUG(1, ("LSA_LOOKUP_SIDS: %s\n",