diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-27 05:34:28 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-27 05:34:28 +0000 |
commit | ab3d728b7e7b1f3aa878ed5601a45ba08a08eb1f (patch) | |
tree | fa5e981618d0128676d6954beb5f90fda0c923e6 /source4/torture/torture.c | |
parent | 61bb3c865c4d4324cd2c1ea7d8b337b15dd66493 (diff) | |
download | samba-ab3d728b7e7b1f3aa878ed5601a45ba08a08eb1f.tar.gz samba-ab3d728b7e7b1f3aa878ed5601a45ba08a08eb1f.tar.bz2 samba-ab3d728b7e7b1f3aa878ed5601a45ba08a08eb1f.zip |
added an rpc scanner. This prints messages like this:
uuid 82273fdc-e32a-18c3-3f78-827929dc23ea version 0x0000:0x0000 'eventlog'
24 calls available
WARNING: local IDL defines 4 calls
when all the WARNINGs are gone then we know we have all the calls :)
(This used to be commit f5821b2468a0c46d0e5590de59562926d746c349)
Diffstat (limited to 'source4/torture/torture.c')
-rw-r--r-- | source4/torture/torture.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/torture.c b/source4/torture/torture.c index 7055acbb85..9bc494df7f 100644 --- a/source4/torture/torture.c +++ b/source4/torture/torture.c @@ -217,6 +217,10 @@ NTSTATUS torture_rpc_connection(struct dcerpc_pipe **p, return status; } + /* this ensures that the reference count is decremented so + a pipe close will really close the link */ + cli_tree_close(cli->tree); + /* bind to the pipe, using the uuid as the key */ status = dcerpc_bind_auth_none(*p, pipe_uuid, pipe_version); if (!NT_STATUS_IS_OK(status)) { @@ -4061,6 +4065,7 @@ static struct { {"RPC-EPMAPPER", torture_rpc_epmapper, 0}, {"RPC-WINREG", torture_rpc_winreg, 0}, {"RPC-MGMT", torture_rpc_mgmt, 0}, + {"RPC-SCANNER", torture_rpc_scanner, 0}, {NULL, NULL, 0}}; |