summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-01-06 15:35:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:47 -0500
commitc85d9e735c8294088203f1656ae07a4b0835292c (patch)
treeb425600689792bcee9fe21e46f2aa8dfdb0eb291 /source3/torture
parentf4ec52a0978dca900942e6001947e3b3d58eccd2 (diff)
downloadsamba-c85d9e735c8294088203f1656ae07a4b0835292c.tar.gz
samba-c85d9e735c8294088203f1656ae07a4b0835292c.tar.bz2
samba-c85d9e735c8294088203f1656ae07a4b0835292c.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 (This used to be commit dc294c52e0216424236057ca6cd35e1ebf51d0da)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/rpctorture.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/torture/rpctorture.c b/source3/torture/rpctorture.c
index d95c0cee0f..98e36983b0 100644
--- a/source3/torture/rpctorture.c
+++ b/source3/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);