mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
s3-rpc_client: move protos to init_samr.h
Guenther
This commit is contained in:
parent
5a6f3a0666
commit
8478770c35
@ -5036,15 +5036,6 @@ void init_netr_CryptPassword(const char *pwd,
|
||||
unsigned char session_key[16],
|
||||
struct netr_CryptPassword *pwd_buf);
|
||||
|
||||
/* The following definitions come from rpc_client/init_samr.c */
|
||||
|
||||
void init_samr_CryptPasswordEx(const char *pwd,
|
||||
DATA_BLOB *session_key,
|
||||
struct samr_CryptPasswordEx *pwd_buf);
|
||||
void init_samr_CryptPassword(const char *pwd,
|
||||
DATA_BLOB *session_key,
|
||||
struct samr_CryptPassword *pwd_buf);
|
||||
|
||||
/* 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_samr.h"
|
||||
|
||||
/****************************************************************
|
||||
****************************************************************/
|
||||
|
@ -22,6 +22,7 @@
|
||||
#include "libnet/libnet.h"
|
||||
#include "libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/init_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
|
@ -21,6 +21,7 @@
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../lib/crypto/md5.h"
|
||||
#include "../lib/crypto/arcfour.h"
|
||||
#include "rpc_client/init_samr.h"
|
||||
|
||||
/*************************************************************************
|
||||
inits a samr_CryptPasswordEx structure
|
||||
|
9
source3/rpc_client/init_samr.h
Normal file
9
source3/rpc_client/init_samr.h
Normal file
@ -0,0 +1,9 @@
|
||||
/* The following definitions come from rpc_client/init_samr.c */
|
||||
|
||||
void init_samr_CryptPasswordEx(const char *pwd,
|
||||
DATA_BLOB *session_key,
|
||||
struct samr_CryptPasswordEx *pwd_buf);
|
||||
void init_samr_CryptPassword(const char *pwd,
|
||||
DATA_BLOB *session_key,
|
||||
struct samr_CryptPassword *pwd_buf);
|
||||
|
@ -27,6 +27,7 @@
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/cli_samr.h"
|
||||
#include "rpc_client/init_samr.h"
|
||||
|
||||
extern DOM_SID domain_sid;
|
||||
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include "../libcli/auth/libcli_auth.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/cli_samr.h"
|
||||
#include "rpc_client/init_samr.h"
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_netlogon.h"
|
||||
|
@ -24,6 +24,7 @@
|
||||
#include "../librpc/gen_ndr/cli_lsa.h"
|
||||
#include "rpc_client/cli_lsarpc.h"
|
||||
#include "../librpc/gen_ndr/cli_samr.h"
|
||||
#include "rpc_client/init_samr.h"
|
||||
#include "../librpc/gen_ndr/ndr_netlogon.h"
|
||||
#include "rpc_client/cli_netlogon.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user