diff options
author | Luke Leighton <lkcl@samba.org> | 1998-10-07 15:22:49 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1998-10-07 15:22:49 +0000 |
commit | 2fef8f2e87f61043e3f1a2cf7d1f2a4ff9f119ff (patch) | |
tree | 38766ed833d7e396b80e4c0086950b6665715df6 /source3/smbd/ipc.c | |
parent | 3d601dafe907861dfb9447085e85a1213fe19b91 (diff) | |
download | samba-2fef8f2e87f61043e3f1a2cf7d1f2a4ff9f119ff.tar.gz samba-2fef8f2e87f61043e3f1a2cf7d1f2a4ff9f119ff.tar.bz2 samba-2fef8f2e87f61043e3f1a2cf7d1f2a4ff9f119ff.zip |
dce/rpc
(This used to be commit 34afa638f6f7bb145ec094510ac58f7a22dfc3aa)
Diffstat (limited to 'source3/smbd/ipc.c')
-rw-r--r-- | source3/smbd/ipc.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c index ebb3c11da8..f2831ce888 100644 --- a/source3/smbd/ipc.c +++ b/source3/smbd/ipc.c @@ -3159,6 +3159,7 @@ static struct api_cmd api_fd_commands[] = static BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *pd) { BOOL ntlmssp_auth = False; + uint16 assoc_gid; fstring ack_pipe_name; int i = 0; @@ -3214,10 +3215,19 @@ static BOOL api_pipe_bind_req(pipes_struct *p, prs_struct *pd) /*** do the bind ack first ***/ /***/ + if (ntlmssp_auth) + { + assoc_gid = 0x7a77; + } + else + { + assoc_gid = p->hdr_rb.bba.assoc_gid; + } + make_rpc_hdr_ba(&p->hdr_ba, p->hdr_rb.bba.max_tsize, p->hdr_rb.bba.max_rsize, - p->hdr_rb.bba.assoc_gid, + assoc_gid, ack_pipe_name, 0x1, 0x0, 0x0, &(p->hdr_rb.transfer)); |