summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/Makefile.in3
-rw-r--r--source3/include/rpc_client.h5
-rw-r--r--source3/rpcclient/cmd_unixinfo.c1
3 files changed, 7 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index add52a9e2c..18f04b9333 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -297,7 +297,8 @@ LIBMSRPC_OBJ = rpc_client/cli_lsarpc.o rpc_client/cli_samr.o \
rpc_client/cli_shutdown.o rpc_client/cli_svcctl.o \
rpc_client/ndr.o
-LIBMSRPC_GEN_OBJ = librpc/gen_ndr/cli_unixinfo.o $(LIBNDR_GEN_OBJ) $(LIBNDR_OBJ)
+LIBMSRPC_GEN_OBJ = librpc/gen_ndr/cli_unixinfo.o librpc/gen_ndr/cli_lsa.o \
+ $(LIBMSRPC_GEN_OBJ1) $(LIBNDR_GEN_OBJ) $(LIBNDR_OBJ)
REGOBJS_OBJ = registry/reg_objects.o
diff --git a/source3/include/rpc_client.h b/source3/include/rpc_client.h
index 0524f037e2..0b3bd0505a 100644
--- a/source3/include/rpc_client.h
+++ b/source3/include/rpc_client.h
@@ -21,6 +21,11 @@
#ifndef _RPC_CLIENT_H
#define _RPC_CLIENT_H
+/* autogenerated client stubs */
+
+#include "librpc/gen_ndr/cli_unixinfo.h"
+#include "librpc/gen_ndr/cli_lsa.h"
+
/* macro to expand cookie-cutter code in cli_xxx() using rpc_api_pipe_req() */
#define CLI_DO_RPC_INTERNAL( pcli, ctx, p_idx, opnum, q_in, r_out, \
diff --git a/source3/rpcclient/cmd_unixinfo.c b/source3/rpcclient/cmd_unixinfo.c
index 4c95acc2d1..12cb23bcd9 100644
--- a/source3/rpcclient/cmd_unixinfo.c
+++ b/source3/rpcclient/cmd_unixinfo.c
@@ -21,7 +21,6 @@
#include "includes.h"
#include "rpcclient.h"
-#include "librpc/gen_ndr/cli_unixinfo.h"
static NTSTATUS cmd_unixinfo_uid2sid(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,