From 85e4a7a5b36f1131ee742f108811e994af9efce9 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Mon, 11 Sep 2006 19:33:27 +0000 Subject: [PATCH] r18394: get the lsa client code to link (This used to be commit 96e412a04cedc4c361c08e0ed1d141f3b018728b) --- source3/Makefile.in | 3 ++- source3/include/rpc_client.h | 5 +++++ source3/rpcclient/cmd_unixinfo.c | 1 - 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,