diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-01-06 15:35:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:47 -0500 |
commit | dc294c52e0216424236057ca6cd35e1ebf51d0da (patch) | |
tree | cf13d2128458d06f377d5d675ce033ce1455aeb2 /source/libsmb/clitrans.c | |
parent | 93eab050201d4e55096a8820226749f001597b5d (diff) | |
download | samba-dc294c52e0216424236057ca6cd35e1ebf51d0da.tar.gz samba-dc294c52e0216424236057ca6cd35e1ebf51d0da.tar.xz samba-dc294c52e0216424236057ca6cd35e1ebf51d0da.zip |
r4570: Replace cli->nt_pipe_fnum with an array of NT file numbers, one for each
supported pipe. Netlogon is still special, as we open that twice, one to do
the auth2, the other one with schannel.
The client interface is completely unchanged for those who only use a single
pie. cli->pipe_idx is used as the index for everything except the "real"
client rpc calls, which have been explicitly converted in my last commit. Next
step is to get winbind to just use a single smb connection for multiple pipes.
Volker
Diffstat (limited to 'source/libsmb/clitrans.c')
-rw-r--r-- | source/libsmb/clitrans.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libsmb/clitrans.c b/source/libsmb/clitrans.c index 761741a91bc..3f1afa75d69 100644 --- a/source/libsmb/clitrans.c +++ b/source/libsmb/clitrans.c @@ -504,7 +504,7 @@ BOOL cli_receive_nt_trans(struct cli_state *cli, */ if (cli_is_dos_error(cli)) { cli_dos_error(cli, &eclass, &ecode); - if (cli->nt_pipe_fnum == 0 || !(eclass == ERRDOS && ecode == ERRmoredata)) { + if (cli->nt_pipe_fnum[cli->pipe_idx] == 0 || !(eclass == ERRDOS && ecode == ERRmoredata)) { cli_signing_trans_stop(cli); return(False); } @@ -638,7 +638,7 @@ BOOL cli_receive_nt_trans(struct cli_state *cli, } if (cli_is_dos_error(cli)) { cli_dos_error(cli, &eclass, &ecode); - if(cli->nt_pipe_fnum == 0 || !(eclass == ERRDOS && ecode == ERRmoredata)) { + if(cli->nt_pipe_fnum[cli->pipe_idx] == 0 || !(eclass == ERRDOS && ecode == ERRmoredata)) { cli_signing_trans_stop(cli); return(False); } |