mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3-lsa: separate out init_lsa headers.
Guenther
This commit is contained in:
parent
aa54d239e2
commit
e978a3d3f4
@ -4681,13 +4681,6 @@ struct cli_state *rpc_pipe_smbd_smb_conn(struct rpc_pipe_client *p);
|
||||
NTSTATUS rpc_transport_sock_init(TALLOC_CTX *mem_ctx, int fd,
|
||||
struct rpc_cli_transport **presult);
|
||||
|
||||
/* The following definitions come from rpc_client/init_lsa.c */
|
||||
|
||||
void init_lsa_String(struct lsa_String *name, const char *s);
|
||||
void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s);
|
||||
void init_lsa_AsciiString(struct lsa_AsciiString *name, const char *s);
|
||||
void init_lsa_AsciiStringLarge(struct lsa_AsciiStringLarge *name, const char *s);
|
||||
|
||||
/* The following definitions come from rpc_client/ndr.c */
|
||||
|
||||
struct tevent_req *cli_do_rpc_ndr_send(TALLOC_CTX *mem_ctx,
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "lib/netapi/netapi_private.h"
|
||||
#include "lib/netapi/libnetapi.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
static NTSTATUS libnetapi_samr_lookup_and_open_alias(TALLOC_CTX *mem_ctx,
|
||||
struct rpc_pipe_client *pipe_cli,
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "lib/netapi/netapi_private.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/cli_samr.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "lib/netapi/netapi_private.h"
|
||||
#include "lib/netapi/libnetapi.h"
|
||||
#include "../librpc/gen_ndr/cli_initshutdown.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/init_samr.h"
|
||||
#include "../libds/common/flags.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
@ -33,6 +33,7 @@
|
||||
#include "lib/smbconf/smbconf_reg.h"
|
||||
#include "../libds/common/flags.h"
|
||||
#include "secrets.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/** @defgroup lsa LSA - Local Security Architecture
|
||||
* @ingroup rpc_client
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/cli_samr.h"
|
||||
#include "../lib/crypto/arcfour.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/* User change password */
|
||||
|
||||
|
@ -18,6 +18,7 @@
|
||||
*/
|
||||
|
||||
#include "includes.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/*******************************************************************
|
||||
inits a structure.
|
||||
|
6
source3/rpc_client/init_lsa.h
Normal file
6
source3/rpc_client/init_lsa.h
Normal file
@ -0,0 +1,6 @@
|
||||
/* The following definitions come from rpc_client/init_lsa.c */
|
||||
|
||||
void init_lsa_String(struct lsa_String *name, const char *s);
|
||||
void init_lsa_StringLarge(struct lsa_StringLarge *name, const char *s);
|
||||
void init_lsa_AsciiString(struct lsa_AsciiString *name, const char *s);
|
||||
void init_lsa_AsciiStringLarge(struct lsa_AsciiStringLarge *name, const char *s);
|
@ -32,6 +32,7 @@
|
||||
#include "../librpc/gen_ndr/srv_lsa.h"
|
||||
#include "secrets.h"
|
||||
#include "../librpc/gen_ndr/netlogon.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_RPC_SRV
|
||||
|
@ -34,6 +34,7 @@
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
#include "../lib/crypto/md4.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
extern userdom_struct current_user_info;
|
||||
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include "rpc_server/srv_samr_util.h"
|
||||
#include "../lib/crypto/arcfour.h"
|
||||
#include "secrets.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_RPC_SRV
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "rpcclient.h"
|
||||
#include "../librpc/gen_ndr/ndr_eventlog.h"
|
||||
#include "../librpc/gen_ndr/cli_eventlog.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
static NTSTATUS get_eventlog_handle(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/* useful function to allow entering a name instead of a SID and
|
||||
* looking it up automatically */
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/cli_samr.h"
|
||||
#include "rpc_client/init_samr.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
extern struct dom_sid domain_sid;
|
||||
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include "../librpc/gen_ndr/rap.h"
|
||||
#include "../lib/util/binsearch.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
#ifdef CHECK_TYPES
|
||||
#undef CHECK_TYPES
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include "../librpc/gen_ndr/cli_winreg.h"
|
||||
#include "secrets.h"
|
||||
#include "lib/netapi/netapi.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
static int net_mode_share;
|
||||
static bool sync_files(struct copy_clistate *cp_clistate, const char *mask);
|
||||
|
@ -28,6 +28,7 @@
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
#include "rpc_client/cli_netlogon.h"
|
||||
#include "secrets.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/* Macro for checking RPC error codes to make things more readable */
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "utils/net.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "rpc_client/init_lsa.h"
|
||||
|
||||
/********************************************************************
|
||||
********************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user