diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-17 00:45:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:34 -0500 |
commit | 5c79bbadd5cfa921c8b4f87b5b4cafe5c488ebda (patch) | |
tree | d3eb0f99fa809a88990b7fb0bf24ec76905e0f9b /source4/torture/rpc | |
parent | 132310b5bf173d398243991bce5b1fb4c5dc5f96 (diff) | |
download | samba-5c79bbadd5cfa921c8b4f87b5b4cafe5c488ebda.tar.gz samba-5c79bbadd5cfa921c8b4f87b5b4cafe5c488ebda.tar.xz samba-5c79bbadd5cfa921c8b4f87b5b4cafe5c488ebda.zip |
r14497: Fix build with shared libraries
(This used to be commit c74fc55831ca24819ae7f5e0920d0351e2b46a08)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r-- | source4/torture/rpc/rpc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/rpc/rpc.c b/source4/torture/rpc/rpc.c index 4fe35a5cf7..1fadf4dca9 100644 --- a/source4/torture/rpc/rpc.c +++ b/source4/torture/rpc/rpc.c @@ -24,6 +24,7 @@ #include "lib/cmdline/popt_common.h" #include "torture/rpc/rpc.h" #include "torture/torture.h" +#include "librpc/rpc/dcerpc_table.h" /* open a rpc connection to the chosen binding string */ NTSTATUS torture_rpc_connection(TALLOC_CTX *parent_ctx, @@ -85,6 +86,10 @@ NTSTATUS torture_rpc_connection_transport(TALLOC_CTX *parent_ctx, NTSTATUS torture_rpc_init(void) { + dcerpc_init(); + + dcerpc_table_init(); + register_torture_op("RPC-LSA", torture_rpc_lsa, 0); register_torture_op("RPC-LSALOOKUP", torture_rpc_lsa_lookup, 0); register_torture_op("RPC-SECRETS", torture_rpc_lsa_secrets, 0); |