diff options
Diffstat (limited to 'source4/torture')
36 files changed, 43 insertions, 0 deletions
diff --git a/source4/torture/libnet/domain.c b/source4/torture/libnet/domain.c index 439561e3d0..18933cb033 100644 --- a/source4/torture/libnet/domain.c +++ b/source4/torture/libnet/domain.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/rpc/rpc.h" #include "libnet/libnet.h" +#include "librpc/gen_ndr/ndr_samr_c.h" static BOOL test_domainopen(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct lsa_String *domname, diff --git a/source4/torture/libnet/libnet_share.c b/source4/torture/libnet/libnet_share.c index 25a86a7072..b7d877b097 100644 --- a/source4/torture/libnet/libnet_share.c +++ b/source4/torture/libnet/libnet_share.c @@ -24,6 +24,7 @@ #include "torture/rpc/rpc.h" #include "libnet/libnet.h" #include "lib/cmdline/popt_common.h" +#include "librpc/gen_ndr/ndr_srvsvc_c.h" #define TEST_SHARENAME "libnetsharetest" diff --git a/source4/torture/libnet/libnet_user.c b/source4/torture/libnet/libnet_user.c index 207645c6d5..adb9a3bdd7 100644 --- a/source4/torture/libnet/libnet_user.c +++ b/source4/torture/libnet/libnet_user.c @@ -22,6 +22,7 @@ #include "includes.h" #include "lib/cmdline/popt_common.h" #include "libnet/libnet.h" +#include "librpc/gen_ndr/ndr_samr_c.h" #define TEST_USERNAME "libnetusertest" diff --git a/source4/torture/libnet/userinfo.c b/source4/torture/libnet/userinfo.c index cf5dc2e410..44a0dcf79b 100644 --- a/source4/torture/libnet/userinfo.c +++ b/source4/torture/libnet/userinfo.c @@ -24,6 +24,7 @@ #include "libnet/libnet.h" #include "libnet/userinfo.h" #include "libcli/security/proto.h" +#include "librpc/gen_ndr/ndr_samr_c.h" #define TEST_USERNAME "libnetuserinfotest" diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c index f4d988e1b9..2df495a15f 100644 --- a/source4/torture/libnet/userman.c +++ b/source4/torture/libnet/userman.c @@ -23,6 +23,7 @@ #include "torture/rpc/rpc.h" #include "libnet/userman.h" #include "libnet/libnet.h" +#include "librpc/gen_ndr/ndr_samr_c.h" #define TEST_USERNAME "libnetusermantest" diff --git a/source4/torture/rpc/atsvc.c b/source4/torture/rpc/atsvc.c index bfc44a4bb1..cb948f8a5d 100644 --- a/source4/torture/rpc/atsvc.c +++ b/source4/torture/rpc/atsvc.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_atsvc.h" +#include "librpc/gen_ndr/ndr_atsvc_c.h" #include "torture/rpc/rpc.h" static BOOL test_JobGetInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, uint32_t job_id) diff --git a/source4/torture/rpc/autoidl.c b/source4/torture/rpc/autoidl.c index cc9d8a1641..af92b1a89c 100644 --- a/source4/torture/rpc/autoidl.c +++ b/source4/torture/rpc/autoidl.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_drsuapi.h" +#include "librpc/gen_ndr/ndr_drsuapi_c.h" #include "librpc/gen_ndr/ndr_misc.h" #include "librpc/rpc/dcerpc_table.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/bench.c b/source4/torture/rpc/bench.c index c4a0859725..a5aaaeeb29 100644 --- a/source4/torture/rpc/bench.c +++ b/source4/torture/rpc/bench.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_srvsvc.h" +#include "librpc/gen_ndr/ndr_srvsvc_c.h" #include "torture/rpc/rpc.h" /**************************/ diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c index 14261c4123..d8f6b1a27e 100644 --- a/source4/torture/rpc/dfs.c +++ b/source4/torture/rpc/dfs.c @@ -23,6 +23,7 @@ #include "torture/torture.h" #include "torture/rpc/rpc.h" #include "librpc/gen_ndr/ndr_dfs.h" +#include "librpc/gen_ndr/ndr_dfs_c.h" static BOOL test_GetManagerVersion(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c index 0b700a7ac4..75efff89b3 100644 --- a/source4/torture/rpc/drsuapi.c +++ b/source4/torture/rpc/drsuapi.c @@ -25,6 +25,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_drsuapi.h" +#include "librpc/gen_ndr/ndr_drsuapi_c.h" #include "torture/rpc/rpc.h" BOOL test_DsBind(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, diff --git a/source4/torture/rpc/drsuapi_cracknames.c b/source4/torture/rpc/drsuapi_cracknames.c index ef8a5cc45d..c3002761b4 100644 --- a/source4/torture/rpc/drsuapi_cracknames.c +++ b/source4/torture/rpc/drsuapi_cracknames.c @@ -25,6 +25,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_drsuapi.h" +#include "librpc/gen_ndr/ndr_drsuapi_c.h" #include "torture/rpc/rpc.h" #include "ldb/include/ldb.h" diff --git a/source4/torture/rpc/dssetup.c b/source4/torture/rpc/dssetup.c index 70f8c99dde..cc285b3eef 100644 --- a/source4/torture/rpc/dssetup.c +++ b/source4/torture/rpc/dssetup.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_dssetup.h" +#include "librpc/gen_ndr/ndr_dssetup_c.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index d334f162bc..ac28e0e222 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -24,6 +24,7 @@ #include "includes.h" #include "lib/cmdline/popt_common.h" #include "librpc/gen_ndr/ndr_drsuapi.h" +#include "librpc/gen_ndr/ndr_drsuapi_c.h" #include "libcli/cldap/cldap.h" #include "libcli/ldap/ldap_client.h" #include "torture/ldap/proto.h" diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index 49752665e4..6c5af71fc7 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -26,6 +26,7 @@ #include "torture/rpc/rpc.h" #include "lib/events/events.h" #include "librpc/gen_ndr/ndr_echo.h" +#include "librpc/gen_ndr/ndr_echo_c.h" /* diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c index 4f6cb122a8..69537c8f5c 100644 --- a/source4/torture/rpc/epmapper.c +++ b/source4/torture/rpc/epmapper.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_epmapper.h" +#include "librpc/gen_ndr/ndr_epmapper_c.h" #include "librpc/rpc/dcerpc_table.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/eventlog.c b/source4/torture/rpc/eventlog.c index 8de099d215..1372dd6b73 100644 --- a/source4/torture/rpc/eventlog.c +++ b/source4/torture/rpc/eventlog.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_eventlog.h" +#include "librpc/gen_ndr/ndr_eventlog_c.h" #include "librpc/gen_ndr/ndr_lsa.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/initshutdown.c b/source4/torture/rpc/initshutdown.c index efd320052d..d0b6e612e3 100644 --- a/source4/torture/rpc/initshutdown.c +++ b/source4/torture/rpc/initshutdown.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_initshutdown.h" +#include "librpc/gen_ndr/ndr_initshutdown_c.h" #include "torture/rpc/rpc.h" static void init_initshutdown_String(TALLOC_CTX *mem_ctx, struct initshutdown_String *name, const char *s) diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 980c9b36e6..b8669e1b70 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_lsa.h" +#include "librpc/gen_ndr/ndr_lsa_c.h" #include "lib/events/events.h" #include "libcli/security/proto.h" #include "libcli/auth/libcli_auth.h" diff --git a/source4/torture/rpc/lsa_lookup.c b/source4/torture/rpc/lsa_lookup.c index c009f89f58..146131286d 100644 --- a/source4/torture/rpc/lsa_lookup.c +++ b/source4/torture/rpc/lsa_lookup.c @@ -26,6 +26,7 @@ #include "libcli/security/proto.h" #include "libnet/libnet_join.h" #include "torture/rpc/rpc.h" +#include "librpc/gen_ndr/ndr_lsa_c.h" static BOOL open_policy(TALLOC_CTX *mem_ctx, struct dcerpc_pipe *p, struct policy_handle **handle) diff --git a/source4/torture/rpc/mgmt.c b/source4/torture/rpc/mgmt.c index d94c65e1d9..b88ee2243c 100644 --- a/source4/torture/rpc/mgmt.c +++ b/source4/torture/rpc/mgmt.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_mgmt.h" +#include "librpc/gen_ndr/ndr_mgmt_c.h" #include "auth/gensec/gensec.h" #include "librpc/rpc/dcerpc_table.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c index a64df0f5bb..14e7a49305 100644 --- a/source4/torture/rpc/netlogon.c +++ b/source4/torture/rpc/netlogon.c @@ -30,6 +30,8 @@ #include "lib/cmdline/popt_common.h" #include "torture/rpc/rpc.h" #include "libcli/auth/libcli_auth.h" +#include "librpc/gen_ndr/ndr_netlogon_c.h" +#include "librpc/gen_ndr/ndr_lsa_c.h" static const char *machine_password; diff --git a/source4/torture/rpc/oxidresolve.c b/source4/torture/rpc/oxidresolve.c index e3070fa6ee..950d9184dc 100644 --- a/source4/torture/rpc/oxidresolve.c +++ b/source4/torture/rpc/oxidresolve.c @@ -22,7 +22,9 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_oxidresolver.h" +#include "librpc/gen_ndr/ndr_oxidresolver_c.h" #include "librpc/gen_ndr/ndr_remact.h" +#include "librpc/gen_ndr/ndr_remact_c.h" #include "librpc/gen_ndr/ndr_epmapper.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/remact.c b/source4/torture/rpc/remact.c index 69c31fc642..13d41394b8 100644 --- a/source4/torture/rpc/remact.c +++ b/source4/torture/rpc/remact.c @@ -22,7 +22,9 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_remact.h" +#include "librpc/gen_ndr/ndr_remact_c.h" #include "librpc/gen_ndr/ndr_epmapper.h" +#include "librpc/gen_ndr/ndr_epmapper_c.h" #include "torture/rpc/rpc.h" #define CLSID_IMAGEDOC "02B01C80-E03D-101A-B294-00DD010F2BF9" diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index ecca8418b8..cca1cdeb98 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -24,6 +24,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_netlogon.h" +#include "librpc/gen_ndr/ndr_netlogon_c.h" #include "auth/auth.h" #include "lib/crypto/crypto.h" #include "lib/cmdline/popt_common.h" diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index e518a0782e..10541ccf54 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -24,6 +24,7 @@ #include "torture/torture.h" #include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_samr.h" +#include "librpc/gen_ndr/ndr_samr_c.h" #include "smb.h" #include "lib/crypto/crypto.h" #include "libcli/auth/libcli_auth.h" diff --git a/source4/torture/rpc/samsync.c b/source4/torture/rpc/samsync.c index 75a90b8b55..4ed28ab563 100644 --- a/source4/torture/rpc/samsync.c +++ b/source4/torture/rpc/samsync.c @@ -32,6 +32,9 @@ #include "auth/gensec/schannel_proto.h" #include "libcli/auth/libcli_auth.h" #include "libcli/security/proto.h" +#include "librpc/gen_ndr/ndr_netlogon_c.h" +#include "librpc/gen_ndr/ndr_lsa_c.h" +#include "librpc/gen_ndr/ndr_samr_c.h" #define TEST_MACHINE_NAME "samsynctest" #define TEST_WKSTA_MACHINE_NAME "samsynctest2" diff --git a/source4/torture/rpc/scanner.c b/source4/torture/rpc/scanner.c index d714fe5427..d2a3a6894a 100644 --- a/source4/torture/rpc/scanner.c +++ b/source4/torture/rpc/scanner.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_mgmt.h" +#include "librpc/gen_ndr/ndr_mgmt_c.h" #include "librpc/rpc/dcerpc_table.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/schannel.c b/source4/torture/rpc/schannel.c index f48e4c2a08..efcb279286 100644 --- a/source4/torture/rpc/schannel.c +++ b/source4/torture/rpc/schannel.c @@ -22,6 +22,9 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_netlogon.h" +#include "librpc/gen_ndr/ndr_netlogon_c.h" +#include "librpc/gen_ndr/ndr_lsa_c.h" +#include "librpc/gen_ndr/ndr_samr_c.h" #include "auth/credentials/credentials.h" #include "torture/rpc/rpc.h" #include "lib/cmdline/popt_common.h" diff --git a/source4/torture/rpc/session_key.c b/source4/torture/rpc/session_key.c index 9656eda054..34cd06724d 100644 --- a/source4/torture/rpc/session_key.c +++ b/source4/torture/rpc/session_key.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_lsa.h" +#include "librpc/gen_ndr/ndr_lsa_c.h" #include "libcli/auth/libcli_auth.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 9cc438d9b8..49db6e3967 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -24,6 +24,7 @@ #include "torture/torture.h" #include "torture/rpc/rpc.h" #include "librpc/gen_ndr/ndr_spoolss.h" +#include "librpc/gen_ndr/ndr_spoolss_c.h" struct test_spoolss_context { struct dcerpc_pipe *p; diff --git a/source4/torture/rpc/srvsvc.c b/source4/torture/rpc/srvsvc.c index e5e9221760..c9aa22c4bc 100644 --- a/source4/torture/rpc/srvsvc.c +++ b/source4/torture/rpc/srvsvc.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_srvsvc.h" +#include "librpc/gen_ndr/ndr_srvsvc_c.h" #include "torture/rpc/rpc.h" /**************************/ diff --git a/source4/torture/rpc/svcctl.c b/source4/torture/rpc/svcctl.c index dddfea961b..d55c879bd7 100644 --- a/source4/torture/rpc/svcctl.c +++ b/source4/torture/rpc/svcctl.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_svcctl.h" +#include "librpc/gen_ndr/ndr_svcctl_c.h" #include "torture/rpc/rpc.h" static BOOL test_EnumServicesStatus(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, struct policy_handle *h) diff --git a/source4/torture/rpc/testjoin.c b/source4/torture/rpc/testjoin.c index 4df25d2aea..55fa25fb38 100644 --- a/source4/torture/rpc/testjoin.c +++ b/source4/torture/rpc/testjoin.c @@ -33,6 +33,7 @@ #include "lib/cmdline/popt_common.h" #include "smb.h" #include "lib/ldb/include/ldb.h" +#include "librpc/gen_ndr/ndr_samr_c.h" #include "libcli/auth/libcli_auth.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/unixinfo.c b/source4/torture/rpc/unixinfo.c index 946d5e1803..ba1c06d346 100644 --- a/source4/torture/rpc/unixinfo.c +++ b/source4/torture/rpc/unixinfo.c @@ -23,6 +23,7 @@ #include "torture/torture.h" #include "torture/rpc/rpc.h" #include "librpc/gen_ndr/ndr_unixinfo.h" +#include "librpc/gen_ndr/ndr_unixinfo_c.h" /* diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c index 88d50f73d7..e8e2f0e346 100644 --- a/source4/torture/rpc/winreg.c +++ b/source4/torture/rpc/winreg.c @@ -23,6 +23,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_winreg.h" +#include "librpc/gen_ndr/ndr_winreg_c.h" #include "libcli/security/proto.h" #include "torture/rpc/rpc.h" diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index 01e81a8de7..7a3b487423 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -22,6 +22,7 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/ndr_wkssvc.h" +#include "librpc/gen_ndr/ndr_wkssvc_c.h" #include "torture/rpc/rpc.h" |