summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-09-11 19:33:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:21 -0500
commit85e4a7a5b36f1131ee742f108811e994af9efce9 (patch)
tree3d1829dec0999bb6897d97c171d6091215b0a846
parent8fad1d204edd6c10380bfa5d72ec7060e34ccdb9 (diff)
downloadsamba-85e4a7a5b36f1131ee742f108811e994af9efce9.tar.gz
samba-85e4a7a5b36f1131ee742f108811e994af9efce9.tar.xz
samba-85e4a7a5b36f1131ee742f108811e994af9efce9.zip
r18394: get the lsa client code to link
(This used to be commit 96e412a04cedc4c361c08e0ed1d141f3b018728b)
-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 add52a9e2c3..18f04b93337 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 0524f037e2c..0b3bd0505a2 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 4c95acc2d15..12cb23bcd96 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,