summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_pipe.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-11-12 16:07:00 +0000
committerLuke Leighton <lkcl@samba.org>1998-11-12 16:07:00 +0000
commit5b863af4c0179f0bee17e77690d99a54cc762531 (patch)
tree516559fc7d6551e02bc6edf4089f0024c13cb127 /source3/rpc_client/cli_pipe.c
parent1ab463a79575316612097445ea40b9dd7bcb84bd (diff)
downloadsamba-5b863af4c0179f0bee17e77690d99a54cc762531.tar.gz
samba-5b863af4c0179f0bee17e77690d99a54cc762531.tar.bz2
samba-5b863af4c0179f0bee17e77690d99a54cc762531.zip
cleaning up conflicts between group code not yet committed and
changes from yesterday by me, jeremy and andrew. jeremy, your ACB_PWNOTREQ mod would have caused a crash if the user didn't exist (first check should be for smb_pass != NULL) (This used to be commit cbac0f165d351ba9497c222e55e453d781376e58)
Diffstat (limited to 'source3/rpc_client/cli_pipe.c')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index b899c6e08e..cb93f61b2d 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -130,7 +130,7 @@ static BOOL rpc_check_hdr(prs_struct *rdata, RPC_HDR *rhdr,
(*last ) = IS_BITS_SET_ALL(rhdr->flags, RPC_FLG_LAST );
(*len ) = rhdr->frag_len - rdata->data->data_used;
- return True;
+ return rhdr->pkt_type != RPC_FAULT;
}
static void NTLMSSPcalc_ap( struct cli_state *cli, unsigned char *data, int len)