summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/passchange.c1
-rw-r--r--source3/rpc_server/srv_lsa_hnd.c1
-rw-r--r--source3/rpcclient/cmd_test.c1
-rw-r--r--source3/utils/net_rpc_shell.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/passchange.c b/source3/libsmb/passchange.c
index 4a81a214177..88f1ca8da27 100644
--- a/source3/libsmb/passchange.c
+++ b/source3/libsmb/passchange.c
@@ -19,6 +19,7 @@
#include "includes.h"
#include "rpc_client/cli_samr.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
/*************************************************************
Change a password on a remote machine using IPC calls.
diff --git a/source3/rpc_server/srv_lsa_hnd.c b/source3/rpc_server/srv_lsa_hnd.c
index f1ab7748590..7cc1b436119 100644
--- a/source3/rpc_server/srv_lsa_hnd.c
+++ b/source3/rpc_server/srv_lsa_hnd.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/ndr_lsa.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
diff --git a/source3/rpcclient/cmd_test.c b/source3/rpcclient/cmd_test.c
index 263c45e5a2e..e854df9a780 100644
--- a/source3/rpcclient/cmd_test.c
+++ b/source3/rpcclient/cmd_test.c
@@ -22,6 +22,7 @@
#include "rpcclient.h"
#include "../librpc/gen_ndr/cli_lsa.h"
#include "rpc_client/cli_lsarpc.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
int argc, const char **argv)
diff --git a/source3/utils/net_rpc_shell.c b/source3/utils/net_rpc_shell.c
index 11facf933bb..b1de4d24c50 100644
--- a/source3/utils/net_rpc_shell.c
+++ b/source3/utils/net_rpc_shell.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "utils/net.h"
+#include "../librpc/gen_ndr/ndr_samr.h"
static NTSTATUS rpc_sh_info(struct net_context *c,
TALLOC_CTX *mem_ctx, struct rpc_sh_ctx *ctx,