diff options
author | Matthew Chapman <matty@samba.org> | 1999-07-22 10:55:09 +0000 |
---|---|---|
committer | Matthew Chapman <matty@samba.org> | 1999-07-22 10:55:09 +0000 |
commit | 61b92043da228b911010c07279f98833d4ca31ef (patch) | |
tree | 112e65566a56ec0d07c683c1fd91234ca31242a8 /source3/include | |
parent | 30beb2dd109e26abbe4d773671909b1fdf3a0e62 (diff) | |
download | samba-61b92043da228b911010c07279f98833d4ca31ef.tar.gz samba-61b92043da228b911010c07279f98833d4ca31ef.tar.bz2 samba-61b92043da228b911010c07279f98833d4ca31ef.zip |
BDC support.
Fixing and clarifying SAM_PWD structure.
(This used to be commit 8e36b07a0e8e7ea8b72e1b9e3b747795b2685e85)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/include/rpc_netlogon.h | 10 |
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; |