summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/include/rpc_netlogon.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 758e394262..d7ab61cb61 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -791,6 +791,7 @@ void cred_hash1(unsigned char *out,unsigned char *in,unsigned char *key);
void cred_hash2(unsigned char *out,unsigned char *in,unsigned char *key);
void cred_hash3(unsigned char *out,unsigned char *in,unsigned char *key, int forw);
void SamOEMhash( unsigned char *data, unsigned char *key, int val);
+void sam_pwd_hash(uint32 rid, const uchar *in, uchar *out, int forw);
/*The following definitions come from libsmb/smbencrypt.c */
@@ -1765,6 +1766,7 @@ BOOL do_sam_sync(struct cli_state *cli,
SAM_DELTA_HDR hdr_deltas[MAX_SAM_DELTAS],
SAM_DELTA_CTR deltas [MAX_SAM_DELTAS],
uint32 *num_deltas);
+BOOL synchronise_passdb(void);
/*The following definitions come from rpc_client/cli_pipe.c */
diff --git a/source3/include/rpc_netlogon.h b/source3/include/rpc_netlogon.h
index 6e28280dcc..e8ea7a4dcb 100644
--- a/source3/include/rpc_netlogon.h
+++ b/source3/include/rpc_netlogon.h
@@ -450,20 +450,18 @@ typedef struct sam_group_info_info
/* SAM_PWD */
typedef struct sam_passwd_info
{
+ /* this structure probably contains password history */
+ /* this is probably a count of lm/nt pairs */
uint32 unk_0; /* 0x0000 0002 */
UNIHDR hdr_lm_pwd;
uint8 buf_lm_pwd[16];
- uint32 ptr_1;
-
UNIHDR hdr_nt_pwd;
uint8 buf_nt_pwd[16];
- uint32 ptr_2;
- uint32 ptr_3;
- uint32 ptr_4;
- uint32 ptr_5;
+ UNIHDR hdr_empty_lm;
+ UNIHDR hdr_empty_nt;
} SAM_PWD;