summaryrefslogtreecommitdiffstats
path: root/source/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-01-06 15:35:02 +0000
committerVolker Lendecke <vlendec@samba.org>2005-01-06 15:35:02 +0000
commit4b9ff292897e7c387850278dc670e34aec6480d3 (patch)
tree5ca8f04c564c8d65b8272832c7f318b51752840b /source/torture
parent0be6b350cb51cdec058e676e08539bc5bbd7b7ac (diff)
downloadsamba-4b9ff292897e7c387850278dc670e34aec6480d3.tar.gz
samba-4b9ff292897e7c387850278dc670e34aec6480d3.tar.xz
samba-4b9ff292897e7c387850278dc670e34aec6480d3.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/torture')
-rw-r--r--source/torture/rpctorture.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/torture/rpctorture.c b/source/torture/rpctorture.c
index d95c0cee0fe..98e36983b09 100644
--- a/source/torture/rpctorture.c
+++ b/source/torture/rpctorture.c
@@ -285,7 +285,11 @@ enum client_action
ZERO_STRUCT(cli_info.dom.level5_sid);
pstrcpy(cli_info.dom.level5_dom, "");
- smb_cli->nt_pipe_fnum = 0xffff;
+ {
+ int i;
+ for (i=0; i<PI_MAX_PIPES; i++)
+ smb_cli->nt_pipe_fnum[i] = 0xffff;
+ }
setup_logging(pname, True);