summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_lsarpc.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-10-01 18:11:57 +0000
committerLuke Leighton <lkcl@samba.org>1999-10-01 18:11:57 +0000
commit860688f6e71fca58fee50e364224ee0f6e4f4da4 (patch)
tree60c13a2b42fedb4b1470e671b470954af051df6c /source3/rpc_client/cli_lsarpc.c
parent0db243bacb356ce4787c1de7e12832942b55e9e1 (diff)
downloadsamba-860688f6e71fca58fee50e364224ee0f6e4f4da4.tar.gz
samba-860688f6e71fca58fee50e364224ee0f6e4f4da4.tar.bz2
samba-860688f6e71fca58fee50e364224ee0f6e4f4da4.zip
error-code checking in lsa_lookup_sids. anonymous connections for
domain info. adjusting net_srv_get_info function. (This used to be commit 42eb916fae0d377f8908dfc42b332e6a53c4e2d9)
Diffstat (limited to 'source3/rpc_client/cli_lsarpc.c')
-rw-r--r--source3/rpc_client/cli_lsarpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_lsarpc.c b/source3/rpc_client/cli_lsarpc.c
index 45ec91d37c..002e98572d 100644
--- a/source3/rpc_client/cli_lsarpc.c
+++ b/source3/rpc_client/cli_lsarpc.c
@@ -407,7 +407,7 @@ BOOL lsa_lookup_sids(struct cli_state *cli, uint16 fnum,
if (p && r_l.status != 0 &&
r_l.status != 0x107 &&
- r_l.status != 0xC0000000 | NT_STATUS_NONE_MAPPED)
+ r_l.status != (0xC0000000 | NT_STATUS_NONE_MAPPED))
{
/* report error code */
DEBUG(1,("LSA_LOOKUP_SIDS: %s\n", get_nt_error_msg(r_l.status)));