diff options
author | Jeremy Allison <jra@samba.org> | 2002-04-10 22:13:46 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-04-10 22:13:46 +0000 |
commit | 6a68627829a082c5c47bf0802d25c85641204d15 (patch) | |
tree | af569964d8e802ee6c024ad656098a12a1ef2269 | |
parent | ff30ca35726c42b76a02ae6797ce22914235b4a3 (diff) | |
download | samba-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.c | 3 |
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", |