From 6a68627829a082c5c47bf0802d25c85641204d15 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 10 Apr 2002 22:13:46 +0000 Subject: 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. --- source/rpc_client/cli_lsarpc.c | 3 +-- 1 file changed, 1 insertion(+), 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", -- cgit