summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-28 02:18:21 +0200
committerGünther Deschner <gd@samba.org>2010-05-28 02:49:36 +0200
commit66adb84e46489a94ea49fc70d93dfe90a601617c (patch)
tree8cf3bc3480e7df86318e570cd4cb8b83c8cd1aa8
parent60079f59b09d5f05ac1f09b015ec9bd765269035 (diff)
downloadsamba-66adb84e46489a94ea49fc70d93dfe90a601617c.tar.gz
samba-66adb84e46489a94ea49fc70d93dfe90a601617c.tar.bz2
samba-66adb84e46489a94ea49fc70d93dfe90a601617c.zip
s3-build: only use ndr_samr.h where needed.
Guenther
-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 4a81a21417..88f1ca8da2 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 f1ab774859..7cc1b43611 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 263c45e5a2..e854df9a78 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 11facf933b..b1de4d24c5 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,