diff options
author | Jeremy Allison <jra@samba.org> | 1998-03-18 19:07:53 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-03-18 19:07:53 +0000 |
commit | da050244c305c1e03e2f3fb2ac02f6bc93ad47ca (patch) | |
tree | e6da7d243fd00f8fd4e9ade3fbbc191dfdd39cec /source3/include | |
parent | 002176a37597b51b4f5e482d9c5e6a8f6b39257f (diff) | |
download | samba-da050244c305c1e03e2f3fb2ac02f6bc93ad47ca.tar.gz samba-da050244c305c1e03e2f3fb2ac02f6bc93ad47ca.tar.bz2 samba-da050244c305c1e03e2f3fb2ac02f6bc93ad47ca.zip |
Added SamOEMChangePassword functionality.
Jeremy.
(This used to be commit e02e3bcbbd4333113dde7bef47763fb229148007)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 54f833a93e..e980bcacc9 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -38,6 +38,10 @@ BOOL chgpasswd(char *name,char *oldpass,char *newpass); BOOL check_lanman_password(char *user, unsigned char *pass1, unsigned char *pass2, struct smb_passwd **psmbpw); BOOL change_lanman_password(struct smb_passwd *smbpw, unsigned char *pass1, unsigned char *pass2); +BOOL check_oem_password(char *user, unsigned char *data, + struct smb_passwd **psmbpw, char *new_passwd, + int new_passwd_size); +BOOL change_oem_password(struct smb_passwd *smbpw, char *new_passwd); /*The following definitions come from client.c */ @@ -1664,6 +1668,7 @@ void E_P24(unsigned char *p21, unsigned char *c8, unsigned char *p24); void D_P16(unsigned char *p14, unsigned char *in, unsigned char *out); 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 SamOEMhash( unsigned char *data, unsigned char *key); /*The following definitions come from smbencrypt.c */ |