diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-12-15 09:18:53 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-12-15 09:18:53 +0000 |
commit | 0a610362575d070001a49b7e0f8249e3718d8da6 (patch) | |
tree | 98feefeca67d8afba628b6809f30c7b88bc19499 /source4/torture | |
parent | 6a3ef87d3ee58c9704f60fe7ae0897036fec9b29 (diff) | |
download | samba-0a610362575d070001a49b7e0f8249e3718d8da6.tar.gz samba-0a610362575d070001a49b7e0f8249e3718d8da6.tar.bz2 samba-0a610362575d070001a49b7e0f8249e3718d8da6.zip |
patch from metze with updates to srvsvc and changes to pidl to allow
for the server rpc boilerplate to correctly generate for multiple
interfaces on an endpoint
(This used to be commit 56143689ecf623e8a6ef5c453e6ad1ca9404411c)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/srvsvc.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c index 65dc63ff54..349fb82131 100644 --- a/source4/torture/rpc/srvsvc.c +++ b/source4/torture/rpc/srvsvc.c @@ -150,14 +150,13 @@ static BOOL test_NetShareEnumAll(struct dcerpc_pipe *p, return True; } -#if 0 + static BOOL test_NetDiskEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { NTSTATUS status; struct srvsvc_NetDiskEnum r; - struct srvsvc_NetDiskCtr0 c0; - uint32 levels[] = {0, 1, 2, 3}; + uint32 levels[] = {0}; int i; BOOL ret = True; @@ -209,7 +208,7 @@ static BOOL test_NetTransportEnum(struct dcerpc_pipe *p, return True; } -#endif + static BOOL test_NetShareEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { @@ -278,11 +277,11 @@ BOOL torture_rpc_srvsvc(int dummy) if (!test_NetDiskEnum(p, mem_ctx)) { ret = False; } - +#endif if (!test_NetTransportEnum(p, mem_ctx)) { ret = False; } -#endif + if (!test_NetShareEnum(p, mem_ctx)) { ret = False; } |