mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
s3-rpc_client: move protos to cli_lsarpc.h
Guenther
This commit is contained in:
parent
5ed3654112
commit
230b880d14
@ -4862,50 +4862,6 @@ TDB_DATA get_printer_notify_pid_list(TDB_CONTEXT *tdb, const char *printer_name,
|
||||
void set_profile_level(int level, struct server_id src);
|
||||
bool profile_setup(struct messaging_context *msg_ctx, bool rdonly);
|
||||
|
||||
/* The following definitions come from rpc_client/cli_lsarpc.c */
|
||||
|
||||
NTSTATUS rpccli_lsa_open_policy(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
bool sec_qos, uint32 des_access,
|
||||
struct policy_handle *pol);
|
||||
NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx, bool sec_qos,
|
||||
uint32 des_access, struct policy_handle *pol);
|
||||
NTSTATUS rpccli_lsa_lookup_sids(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol,
|
||||
int num_sids,
|
||||
const DOM_SID *sids,
|
||||
char ***pdomains,
|
||||
char ***pnames,
|
||||
enum lsa_SidType **ptypes);
|
||||
NTSTATUS rpccli_lsa_lookup_sids3(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol,
|
||||
int num_sids,
|
||||
const DOM_SID *sids,
|
||||
char ***pdomains,
|
||||
char ***pnames,
|
||||
enum lsa_SidType **ptypes);
|
||||
NTSTATUS rpccli_lsa_lookup_names(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol, int num_names,
|
||||
const char **names,
|
||||
const char ***dom_names,
|
||||
int level,
|
||||
DOM_SID **sids,
|
||||
enum lsa_SidType **types);
|
||||
NTSTATUS rpccli_lsa_lookup_names4(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol, int num_names,
|
||||
const char **names,
|
||||
const char ***dom_names,
|
||||
int level,
|
||||
DOM_SID **sids,
|
||||
enum lsa_SidType **types);
|
||||
|
||||
bool fetch_domain_sid( char *domain, char *remote_machine, DOM_SID *psid);
|
||||
|
||||
/* The following definitions come from rpc_client/cli_pipe.c */
|
||||
|
||||
struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx,
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "lib/netapi/libnetapi.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
static NTSTATUS libnetapi_samr_lookup_and_open_alias(TALLOC_CTX *mem_ctx,
|
||||
struct rpc_pipe_client *pipe_cli,
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
#include "rpc_client/cli_netlogon.h"
|
||||
#include "lib/smbconf/smbconf.h"
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "libsmbclient.h"
|
||||
#include "libsmb_internal.h"
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
/*
|
||||
* Check a server for being alive and well.
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "libsmbclient.h"
|
||||
#include "libsmb_internal.h"
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
|
||||
/*
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "includes.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "rpc_client/cli_netlogon.h"
|
||||
|
||||
/*********************************************************
|
||||
|
@ -24,6 +24,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
/** @defgroup lsa LSA - Local Security Architecture
|
||||
* @ingroup rpc_client
|
||||
|
44
source3/rpc_client/cli_lsarpc.h
Normal file
44
source3/rpc_client/cli_lsarpc.h
Normal file
@ -0,0 +1,44 @@
|
||||
/* The following definitions come from rpc_client/cli_lsarpc.c */
|
||||
|
||||
NTSTATUS rpccli_lsa_open_policy(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
bool sec_qos, uint32 des_access,
|
||||
struct policy_handle *pol);
|
||||
NTSTATUS rpccli_lsa_open_policy2(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx, bool sec_qos,
|
||||
uint32 des_access, struct policy_handle *pol);
|
||||
NTSTATUS rpccli_lsa_lookup_sids(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol,
|
||||
int num_sids,
|
||||
const DOM_SID *sids,
|
||||
char ***pdomains,
|
||||
char ***pnames,
|
||||
enum lsa_SidType **ptypes);
|
||||
NTSTATUS rpccli_lsa_lookup_sids3(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol,
|
||||
int num_sids,
|
||||
const DOM_SID *sids,
|
||||
char ***pdomains,
|
||||
char ***pnames,
|
||||
enum lsa_SidType **ptypes);
|
||||
NTSTATUS rpccli_lsa_lookup_names(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol, int num_names,
|
||||
const char **names,
|
||||
const char ***dom_names,
|
||||
int level,
|
||||
DOM_SID **sids,
|
||||
enum lsa_SidType **types);
|
||||
NTSTATUS rpccli_lsa_lookup_names4(struct rpc_pipe_client *cli,
|
||||
TALLOC_CTX *mem_ctx,
|
||||
struct policy_handle *pol, int num_names,
|
||||
const char **names,
|
||||
const char ***dom_names,
|
||||
int level,
|
||||
DOM_SID **sids,
|
||||
enum lsa_SidType **types);
|
||||
|
||||
bool fetch_domain_sid( char *domain, char *remote_machine, DOM_SID *psid);
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "rpcclient.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
/* useful function to allow entering a name instead of a SID and
|
||||
* looking it up automatically */
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "includes.h"
|
||||
#include "rpcclient.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
|
||||
int argc, const char **argv)
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "rpcclient.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
#include "rpc_client/cli_netlogon.h"
|
||||
|
||||
|
@ -26,6 +26,7 @@
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
#include "../librpc/gen_ndr/cli_srvsvc.h"
|
||||
#include "../librpc/gen_ndr/cli_spoolss.h"
|
||||
|
@ -19,6 +19,7 @@
|
||||
#include "includes.h"
|
||||
#include "utils/net.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
/********************************************************************
|
||||
********************************************************************/
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "utils/net.h"
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
#include "rpc_client/cli_netlogon.h"
|
||||
|
@ -20,6 +20,7 @@
|
||||
#include "includes.h"
|
||||
#include "utils/net.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
/********************************************************************
|
||||
********************************************************************/
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "utils/net.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_dssetup.h"
|
||||
|
||||
NTSTATUS net_rpc_lookup_name(struct net_context *c,
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "includes.h"
|
||||
#include "utils/net.h"
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
/********************************************************
|
||||
Connection cachine struct. Goes away when ctx destroyed.
|
||||
|
@ -23,6 +23,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
extern bool AllowDebugChange;
|
||||
|
||||
|
@ -23,6 +23,7 @@
|
||||
|
||||
#include "includes.h"
|
||||
#include "../librpc/gen_ndr/ndr_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
static char *server;
|
||||
|
||||
|
@ -65,6 +65,7 @@
|
||||
#include "rpc_client/cli_netlogon.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_dssetup.h"
|
||||
#include "libads/sitename_cache.h"
|
||||
#include "librpc/gen_ndr/messaging.h"
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/cli_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
|
||||
#undef DBGC_CLASS
|
||||
#define DBGC_CLASS DBGC_WINBIND
|
||||
|
Loading…
x
Reference in New Issue
Block a user