From f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 16 Mar 2006 12:43:28 +0000 Subject: [PATCH] r14470: Remove some unnecessary headers. --- source/client/client.c | 1 - source/gtk/tools/gepdump.c | 2 -- source/gtk/tools/gwcrontab.c | 1 - source/gtk/tools/gwsam.c | 1 - source/lib/com/dcom/main.c | 1 - source/lib/registry/reg_backend_rpc.c | 1 - source/libcli/util/clilsa.c | 2 +- source/libnet/libnet_join.c | 2 -- source/libnet/libnet_passwd.c | 1 - source/libnet/libnet_rpc.c | 1 - source/libnet/libnet_share.c | 1 - source/libnet/libnet_time.c | 1 - source/librpc/rpc/dcerpc_util.c | 1 - source/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm | 4 ++++ source/torture/libnet/domain.c | 1 - source/torture/libnet/libnet_share.c | 1 - source/torture/libnet/userinfo.c | 1 - source/torture/libnet/userman.c | 1 - source/torture/rpc/atsvc.c | 1 - source/torture/rpc/autoidl.c | 1 - source/torture/rpc/bench.c | 1 - source/torture/rpc/dfs.c | 1 - source/torture/rpc/drsuapi.c | 1 - source/torture/rpc/drsuapi_cracknames.c | 1 - source/torture/rpc/dssetup.c | 1 - source/torture/rpc/dssync.c | 1 - source/torture/rpc/echo.c | 1 - source/torture/rpc/epmapper.c | 1 - source/torture/rpc/initshutdown.c | 1 - source/torture/rpc/lsa.c | 1 - source/torture/rpc/lsa_lookup.c | 1 - source/torture/rpc/mgmt.c | 1 - source/torture/rpc/netlogon.c | 2 -- source/torture/rpc/oxidresolve.c | 2 -- source/torture/rpc/remact.c | 2 -- source/torture/rpc/samr.c | 1 - source/torture/rpc/samsync.c | 1 - source/torture/rpc/scanner.c | 1 - source/torture/rpc/schannel.c | 3 --- source/torture/rpc/session_key.c | 1 - source/torture/rpc/spoolss.c | 1 - source/torture/rpc/svcctl.c | 1 - source/torture/rpc/testjoin.c | 1 - source/torture/rpc/unixinfo.c | 1 - source/torture/rpc/winreg.c | 1 - source/torture/rpc/wkssvc.c | 1 - source/winbind/wb_async_helpers.c | 1 - source/winbind/wb_cmd_getdcname.c | 1 - source/winbind/wb_cmd_list_trustdom.c | 1 - source/winbind/wb_cmd_usersids.c | 1 - source/winbind/wb_connect_lsa.c | 1 - source/winbind/wb_connect_sam.c | 1 - source/winbind/wb_dom_info_trusted.c | 1 - source/winbind/wb_init_domain.c | 2 +- 54 files changed, 6 insertions(+), 60 deletions(-) diff --git a/source/client/client.c b/source/client/client.c index 2f03ca09727..80b3f00e585 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -25,7 +25,6 @@ #include "version.h" #include "libcli/libcli.h" #include "lib/cmdline/popt_common.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" #include "librpc/gen_ndr/ndr_srvsvc_c.h" #include "librpc/gen_ndr/ndr_lsa.h" #include "libcli/raw/libcliraw.h" diff --git a/source/gtk/tools/gepdump.c b/source/gtk/tools/gepdump.c index 5d62969028b..f5ac48e3797 100644 --- a/source/gtk/tools/gepdump.c +++ b/source/gtk/tools/gepdump.c @@ -20,9 +20,7 @@ */ #include "includes.h" -#include "librpc/gen_ndr/ndr_epmapper.h" #include "librpc/gen_ndr/ndr_epmapper_c.h" -#include "librpc/gen_ndr/ndr_mgmt.h" #include "librpc/gen_ndr/ndr_mgmt_c.h" #include "gtk/common/gtk-smb.h" #include "auth/gensec/gensec.h" diff --git a/source/gtk/tools/gwcrontab.c b/source/gtk/tools/gwcrontab.c index cd2bc30d6e7..a00b57dd0d8 100644 --- a/source/gtk/tools/gwcrontab.c +++ b/source/gtk/tools/gwcrontab.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "librpc/gen_ndr/ndr_atsvc.h" #include "librpc/gen_ndr/ndr_atsvc_c.h" #include "gtk/common/gtk-smb.h" #include "auth/credentials/credentials.h" diff --git a/source/gtk/tools/gwsam.c b/source/gtk/tools/gwsam.c index 608dc1be8dd..5f274e622b0 100644 --- a/source/gtk/tools/gwsam.c +++ b/source/gtk/tools/gwsam.c @@ -20,7 +20,6 @@ */ #include "includes.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "gtk/common/select.h" #include "gtk/common/gtk-smb.h" diff --git a/source/lib/com/dcom/main.c b/source/lib/com/dcom/main.c index 0bd83c800a2..14a7287c591 100644 --- a/source/lib/com/dcom/main.c +++ b/source/lib/com/dcom/main.c @@ -21,7 +21,6 @@ #include "includes.h" #include "system/filesys.h" #include "librpc/gen_ndr/epmapper.h" -#include "librpc/gen_ndr/ndr_remact.h" #include "librpc/gen_ndr/ndr_remact_c.h" #include "librpc/gen_ndr/com_dcom.h" #include "lib/com/dcom/dcom.h" diff --git a/source/lib/registry/reg_backend_rpc.c b/source/lib/registry/reg_backend_rpc.c index 5b2f8733313..c4d9c28d9d3 100644 --- a/source/lib/registry/reg_backend_rpc.c +++ b/source/lib/registry/reg_backend_rpc.c @@ -19,7 +19,6 @@ #include "includes.h" #include "registry.h" -#include "librpc/gen_ndr/ndr_winreg.h" #include "librpc/gen_ndr/ndr_winreg_c.h" static struct hive_operations reg_backend_rpc; diff --git a/source/libcli/util/clilsa.c b/source/libcli/util/clilsa.c index f1f0f01c1d4..fab392ac047 100644 --- a/source/libcli/util/clilsa.c +++ b/source/libcli/util/clilsa.c @@ -30,8 +30,8 @@ #include "libcli/raw/libcliraw.h" #include "libcli/libcli.h" #include "libcli/security/proto.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_security.h" +#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" struct smblsa_state { diff --git a/source/libnet/libnet_join.c b/source/libnet/libnet_join.c index a517aa37337..6cee4fa2df2 100644 --- a/source/libnet/libnet_join.c +++ b/source/libnet/libnet_join.c @@ -22,7 +22,6 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_drsuapi.h" #include "librpc/gen_ndr/ndr_drsuapi_c.h" #include "lib/ldb/include/ldb.h" #include "lib/ldb/include/ldb_errors.h" @@ -31,7 +30,6 @@ #include "db_wrap.h" #include "libcli/security/proto.h" #include "auth/credentials/credentials.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source/libnet/libnet_passwd.c b/source/libnet/libnet_passwd.c index c8c80db1839..e5059c5f08c 100644 --- a/source/libnet/libnet_passwd.c +++ b/source/libnet/libnet_passwd.c @@ -24,7 +24,6 @@ #include "libnet/libnet.h" #include "lib/crypto/crypto.h" #include "libcli/auth/libcli_auth.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" /* diff --git a/source/libnet/libnet_rpc.c b/source/libnet/libnet_rpc.c index b9d493fdf8d..3e9f069fb57 100644 --- a/source/libnet/libnet_rpc.c +++ b/source/libnet/libnet_rpc.c @@ -22,7 +22,6 @@ #include "includes.h" #include "libnet/libnet.h" #include "libcli/libcli.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" /** diff --git a/source/libnet/libnet_share.c b/source/libnet/libnet_share.c index 08a5b599e22..35980fdcbba 100644 --- a/source/libnet/libnet_share.c +++ b/source/libnet/libnet_share.c @@ -20,7 +20,6 @@ #include "includes.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" #include "librpc/gen_ndr/ndr_srvsvc_c.h" diff --git a/source/libnet/libnet_time.c b/source/libnet/libnet_time.c index 211cbc9e7f7..d1d8298e3c4 100644 --- a/source/libnet/libnet_time.c +++ b/source/libnet/libnet_time.c @@ -21,7 +21,6 @@ #include "includes.h" #include "libnet/libnet.h" #include "system/time.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" #include "librpc/gen_ndr/ndr_srvsvc_c.h" /* diff --git a/source/librpc/rpc/dcerpc_util.c b/source/librpc/rpc/dcerpc_util.c index 6a3e02a5558..59a4b422f0c 100644 --- a/source/librpc/rpc/dcerpc_util.c +++ b/source/librpc/rpc/dcerpc_util.c @@ -26,7 +26,6 @@ #include "includes.h" #include "lib/events/events.h" #include "libcli/composite/composite.h" -#include "librpc/gen_ndr/ndr_epmapper.h" #include "librpc/gen_ndr/ndr_epmapper_c.h" #include "librpc/gen_ndr/ndr_dcerpc.h" #include "librpc/gen_ndr/ndr_misc.h" diff --git a/source/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm b/source/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm index 0f3a86e81ee..d52dc12ec35 100644 --- a/source/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm +++ b/source/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm @@ -70,6 +70,10 @@ sub ParseInterface($) $res_hdr .= "#ifndef _HEADER_RPC_$interface->{NAME}\n"; $res_hdr .= "#define _HEADER_RPC_$interface->{NAME}\n\n"; + if (defined $interface->{PROPERTIES}->{uuid}) { + $res_hdr .= "extern const struct dcerpc_interface_table dcerpc_table_$interface->{NAME};\n"; + } + $res .= "/* $interface->{NAME} - client functions generated by pidl */\n\n"; foreach my $fn (@{$interface->{FUNCTIONS}}) { diff --git a/source/torture/libnet/domain.c b/source/torture/libnet/domain.c index 0151d5fbc2a..18933cb033f 100644 --- a/source/torture/libnet/domain.c +++ b/source/torture/libnet/domain.c @@ -22,7 +22,6 @@ #include "includes.h" #include "torture/rpc/rpc.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" static BOOL test_domainopen(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, diff --git a/source/torture/libnet/libnet_share.c b/source/torture/libnet/libnet_share.c index 3366433e401..b7d877b0975 100644 --- a/source/torture/libnet/libnet_share.c +++ b/source/torture/libnet/libnet_share.c @@ -24,7 +24,6 @@ #include "torture/rpc/rpc.h" #include "libnet/libnet.h" #include "lib/cmdline/popt_common.h" -#include "librpc/gen_ndr/ndr_srvsvc.h" #include "librpc/gen_ndr/ndr_srvsvc_c.h" diff --git a/source/torture/libnet/userinfo.c b/source/torture/libnet/userinfo.c index 1e9b5defbd0..15ff443af24 100644 --- a/source/torture/libnet/userinfo.c +++ b/source/torture/libnet/userinfo.c @@ -24,7 +24,6 @@ #include "libnet/libnet.h" #include "libnet/userinfo.h" #include "libcli/security/proto.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source/torture/libnet/userman.c b/source/torture/libnet/userman.c index cf25f0d7605..2df495a15fc 100644 --- a/source/torture/libnet/userman.c +++ b/source/torture/libnet/userman.c @@ -23,7 +23,6 @@ #include "torture/rpc/rpc.h" #include "libnet/userman.h" #include "libnet/libnet.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #define TEST_USERNAME "libnetusermantest" diff --git a/source/torture/rpc/atsvc.c b/source/torture/rpc/atsvc.c index cb948f8a5d5..f77cd67c374 100644 --- a/source/torture/rpc/atsvc.c +++ b/source/torture/rpc/atsvc.c @@ -21,7 +21,6 @@ #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" diff --git a/source/torture/rpc/autoidl.c b/source/torture/rpc/autoidl.c index af92b1a89c8..9f1c14950a3 100644 --- a/source/torture/rpc/autoidl.c +++ b/source/torture/rpc/autoidl.c @@ -22,7 +22,6 @@ #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" diff --git a/source/torture/rpc/bench.c b/source/torture/rpc/bench.c index a5aaaeeb299..a4b2cf1269e 100644 --- a/source/torture/rpc/bench.c +++ b/source/torture/rpc/bench.c @@ -22,7 +22,6 @@ #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/source/torture/rpc/dfs.c b/source/torture/rpc/dfs.c index d8f6b1a27e6..babbc4fcff7 100644 --- a/source/torture/rpc/dfs.c +++ b/source/torture/rpc/dfs.c @@ -22,7 +22,6 @@ #include "includes.h" #include "torture/torture.h" #include "torture/rpc/rpc.h" -#include "librpc/gen_ndr/ndr_dfs.h" #include "librpc/gen_ndr/ndr_dfs_c.h" diff --git a/source/torture/rpc/drsuapi.c b/source/torture/rpc/drsuapi.c index 75efff89b3b..a515df18478 100644 --- a/source/torture/rpc/drsuapi.c +++ b/source/torture/rpc/drsuapi.c @@ -24,7 +24,6 @@ #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" diff --git a/source/torture/rpc/drsuapi_cracknames.c b/source/torture/rpc/drsuapi_cracknames.c index c3002761b4c..d49c8246061 100644 --- a/source/torture/rpc/drsuapi_cracknames.c +++ b/source/torture/rpc/drsuapi_cracknames.c @@ -24,7 +24,6 @@ #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/source/torture/rpc/dssetup.c b/source/torture/rpc/dssetup.c index cc285b3eefd..828c017c00b 100644 --- a/source/torture/rpc/dssetup.c +++ b/source/torture/rpc/dssetup.c @@ -22,7 +22,6 @@ #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/source/torture/rpc/dssync.c b/source/torture/rpc/dssync.c index ac28e0e2221..695cbb4d53b 100644 --- a/source/torture/rpc/dssync.c +++ b/source/torture/rpc/dssync.c @@ -23,7 +23,6 @@ #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" diff --git a/source/torture/rpc/echo.c b/source/torture/rpc/echo.c index 6c5af71fc75..0db41c4bcb0 100644 --- a/source/torture/rpc/echo.c +++ b/source/torture/rpc/echo.c @@ -25,7 +25,6 @@ #include "torture/torture.h" #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/source/torture/rpc/epmapper.c b/source/torture/rpc/epmapper.c index 69537c8f5ce..ee11cae0849 100644 --- a/source/torture/rpc/epmapper.c +++ b/source/torture/rpc/epmapper.c @@ -21,7 +21,6 @@ #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/source/torture/rpc/initshutdown.c b/source/torture/rpc/initshutdown.c index d0b6e612e37..2652ad6cfb6 100644 --- a/source/torture/rpc/initshutdown.c +++ b/source/torture/rpc/initshutdown.c @@ -22,7 +22,6 @@ #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" diff --git a/source/torture/rpc/lsa.c b/source/torture/rpc/lsa.c index b8669e1b70c..61ab4bdc498 100644 --- a/source/torture/rpc/lsa.c +++ b/source/torture/rpc/lsa.c @@ -22,7 +22,6 @@ #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" diff --git a/source/torture/rpc/lsa_lookup.c b/source/torture/rpc/lsa_lookup.c index bd7b98b9870..eb0efc906ba 100644 --- a/source/torture/rpc/lsa_lookup.c +++ b/source/torture/rpc/lsa_lookup.c @@ -25,7 +25,6 @@ #include "libcli/security/proto.h" #include "libnet/libnet_join.h" #include "torture/rpc/rpc.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source/torture/rpc/mgmt.c b/source/torture/rpc/mgmt.c index b88ee2243c0..653c49d0384 100644 --- a/source/torture/rpc/mgmt.c +++ b/source/torture/rpc/mgmt.c @@ -21,7 +21,6 @@ #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" diff --git a/source/torture/rpc/netlogon.c b/source/torture/rpc/netlogon.c index ffa62f8fa37..14e7a49305a 100644 --- a/source/torture/rpc/netlogon.c +++ b/source/torture/rpc/netlogon.c @@ -30,9 +30,7 @@ #include "lib/cmdline/popt_common.h" #include "torture/rpc/rpc.h" #include "libcli/auth/libcli_auth.h" -#include "librpc/gen_ndr/ndr_netlogon.h" #include "librpc/gen_ndr/ndr_netlogon_c.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" static const char *machine_password; diff --git a/source/torture/rpc/oxidresolve.c b/source/torture/rpc/oxidresolve.c index 0c128f9f1f6..4004476a222 100644 --- a/source/torture/rpc/oxidresolve.c +++ b/source/torture/rpc/oxidresolve.c @@ -21,9 +21,7 @@ #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/epmapper.h" #include "torture/rpc/rpc.h" diff --git a/source/torture/rpc/remact.c b/source/torture/rpc/remact.c index 81f609e8b39..ed7c1935a2c 100644 --- a/source/torture/rpc/remact.c +++ b/source/torture/rpc/remact.c @@ -21,9 +21,7 @@ #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 "librpc/gen_ndr/ndr_dcom.h" #include "torture/rpc/rpc.h" diff --git a/source/torture/rpc/samr.c b/source/torture/rpc/samr.c index fcf0215a1e4..cbe011eeb05 100644 --- a/source/torture/rpc/samr.c +++ b/source/torture/rpc/samr.c @@ -23,7 +23,6 @@ #include "includes.h" #include "torture/torture.h" #include "librpc/gen_ndr/lsa.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "librpc/gen_ndr/ndr_security.h" #include "smb.h" diff --git a/source/torture/rpc/samsync.c b/source/torture/rpc/samsync.c index 6b55c820d97..0d8fb0b5d55 100644 --- a/source/torture/rpc/samsync.c +++ b/source/torture/rpc/samsync.c @@ -34,7 +34,6 @@ #include "libcli/security/proto.h" #include "librpc/gen_ndr/ndr_netlogon.h" #include "librpc/gen_ndr/ndr_netlogon_c.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "librpc/gen_ndr/ndr_security.h" diff --git a/source/torture/rpc/scanner.c b/source/torture/rpc/scanner.c index d2a3a6894a4..85fc95aa630 100644 --- a/source/torture/rpc/scanner.c +++ b/source/torture/rpc/scanner.c @@ -22,7 +22,6 @@ #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/source/torture/rpc/schannel.c b/source/torture/rpc/schannel.c index b39d1258c2e..cb3723f995e 100644 --- a/source/torture/rpc/schannel.c +++ b/source/torture/rpc/schannel.c @@ -21,11 +21,8 @@ */ #include "includes.h" -#include "librpc/gen_ndr/ndr_netlogon.h" #include "librpc/gen_ndr/ndr_netlogon_c.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "auth/credentials/credentials.h" #include "torture/rpc/rpc.h" diff --git a/source/torture/rpc/session_key.c b/source/torture/rpc/session_key.c index 34cd06724d5..11f07c3b998 100644 --- a/source/torture/rpc/session_key.c +++ b/source/torture/rpc/session_key.c @@ -22,7 +22,6 @@ #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" diff --git a/source/torture/rpc/spoolss.c b/source/torture/rpc/spoolss.c index 49db6e3967d..eb73bfa36b0 100644 --- a/source/torture/rpc/spoolss.c +++ b/source/torture/rpc/spoolss.c @@ -23,7 +23,6 @@ #include "includes.h" #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 { diff --git a/source/torture/rpc/svcctl.c b/source/torture/rpc/svcctl.c index d55c879bd77..dbdce859f88 100644 --- a/source/torture/rpc/svcctl.c +++ b/source/torture/rpc/svcctl.c @@ -21,7 +21,6 @@ #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" diff --git a/source/torture/rpc/testjoin.c b/source/torture/rpc/testjoin.c index 76fe3ec2ae9..55fa25fb387 100644 --- a/source/torture/rpc/testjoin.c +++ b/source/torture/rpc/testjoin.c @@ -33,7 +33,6 @@ #include "lib/cmdline/popt_common.h" #include "smb.h" #include "lib/ldb/include/ldb.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "libcli/auth/libcli_auth.h" diff --git a/source/torture/rpc/unixinfo.c b/source/torture/rpc/unixinfo.c index ba1c06d346f..b351c397e83 100644 --- a/source/torture/rpc/unixinfo.c +++ b/source/torture/rpc/unixinfo.c @@ -22,7 +22,6 @@ #include "includes.h" #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/source/torture/rpc/winreg.c b/source/torture/rpc/winreg.c index 0e219d4161e..8d1ead59e4a 100644 --- a/source/torture/rpc/winreg.c +++ b/source/torture/rpc/winreg.c @@ -22,7 +22,6 @@ #include "includes.h" #include "torture/torture.h" -#include "librpc/gen_ndr/ndr_winreg.h" #include "librpc/gen_ndr/ndr_winreg_c.h" #include "librpc/gen_ndr/ndr_security.h" #include "libcli/security/proto.h" diff --git a/source/torture/rpc/wkssvc.c b/source/torture/rpc/wkssvc.c index 7a3b487423b..5e5975cf626 100644 --- a/source/torture/rpc/wkssvc.c +++ b/source/torture/rpc/wkssvc.c @@ -21,7 +21,6 @@ #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" diff --git a/source/winbind/wb_async_helpers.c b/source/winbind/wb_async_helpers.c index c1a95b65fd2..eb8ccd22bca 100644 --- a/source/winbind/wb_async_helpers.c +++ b/source/winbind/wb_async_helpers.c @@ -30,7 +30,6 @@ #include "libcli/auth/credentials.h" #include "libcli/security/proto.h" #include "libcli/auth/libcli_auth.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" diff --git a/source/winbind/wb_cmd_getdcname.c b/source/winbind/wb_cmd_getdcname.c index 58ad2b2d953..a9ae6098791 100644 --- a/source/winbind/wb_cmd_getdcname.c +++ b/source/winbind/wb_cmd_getdcname.c @@ -25,7 +25,6 @@ #include "winbind/wb_server.h" #include "smbd/service_task.h" -#include "librpc/gen_ndr/ndr_netlogon.h" #include "librpc/gen_ndr/ndr_netlogon_c.h" struct cmd_getdcname_state { diff --git a/source/winbind/wb_cmd_list_trustdom.c b/source/winbind/wb_cmd_list_trustdom.c index 6b153b05506..0090879a830 100644 --- a/source/winbind/wb_cmd_list_trustdom.c +++ b/source/winbind/wb_cmd_list_trustdom.c @@ -24,7 +24,6 @@ #include "libcli/composite/composite.h" #include "winbind/wb_server.h" #include "smbd/service_task.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" /* List trusted domains. To avoid the trouble with having to wait for other diff --git a/source/winbind/wb_cmd_usersids.c b/source/winbind/wb_cmd_usersids.c index 1d5b131a14a..480698f08ac 100644 --- a/source/winbind/wb_cmd_usersids.c +++ b/source/winbind/wb_cmd_usersids.c @@ -24,7 +24,6 @@ #include "libcli/composite/composite.h" #include "winbind/wb_server.h" #include "smbd/service_task.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" #include "libcli/security/proto.h" diff --git a/source/winbind/wb_connect_lsa.c b/source/winbind/wb_connect_lsa.c index 7ea41f66082..815e1319621 100644 --- a/source/winbind/wb_connect_lsa.c +++ b/source/winbind/wb_connect_lsa.c @@ -25,7 +25,6 @@ #include "libcli/composite/composite.h" #include "libcli/raw/libcliraw.h" -#include "librpc/gen_ndr/ndr_lsa.h" #include "librpc/gen_ndr/ndr_lsa_c.h" /* Helper to initialize LSA with a specific auth methods. Verify by opening diff --git a/source/winbind/wb_connect_sam.c b/source/winbind/wb_connect_sam.c index e1f4d6a317c..e496cc3c58f 100644 --- a/source/winbind/wb_connect_sam.c +++ b/source/winbind/wb_connect_sam.c @@ -26,7 +26,6 @@ #include "libcli/raw/libcliraw.h" #include "libcli/security/proto.h" -#include "librpc/gen_ndr/ndr_samr.h" #include "librpc/gen_ndr/ndr_samr_c.h" diff --git a/source/winbind/wb_dom_info_trusted.c b/source/winbind/wb_dom_info_trusted.c index e3c7984e64b..1b03116a6f7 100644 --- a/source/winbind/wb_dom_info_trusted.c +++ b/source/winbind/wb_dom_info_trusted.c @@ -26,7 +26,6 @@ #include "libcli/security/proto.h" #include "winbind/wb_server.h" #include "smbd/service_task.h" -#include "librpc/gen_ndr/ndr_netlogon.h" #include "librpc/gen_ndr/ndr_netlogon_c.h" struct trusted_dom_info_state { diff --git a/source/winbind/wb_init_domain.c b/source/winbind/wb_init_domain.c index f0e8f157eec..b849dbadb23 100644 --- a/source/winbind/wb_init_domain.c +++ b/source/winbind/wb_init_domain.c @@ -28,8 +28,8 @@ #include "winbind/wb_async_helpers.h" #include "winbind/wb_helper.h" #include "smbd/service_task.h" -#include "librpc/gen_ndr/ndr_lsa_c.h" #include "librpc/gen_ndr/ndr_netlogon.h" +#include "librpc/gen_ndr/ndr_lsa_c.h" #include "librpc/gen_ndr/ndr_security.h" #include "libcli/auth/credentials.h"