summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-06-15 07:22:27 +0000
committerTim Potter <tpot@samba.org>2001-06-15 07:22:27 +0000
commit2b49ec356a85af27a5204bddf5058dff80c00cd2 (patch)
tree8874a58bc4f28743a36edc86c0ee5fa732907dbe
parentf339bbbc30a7b8a2ee049c1f93d978ed0a2f1238 (diff)
downloadsamba-2b49ec356a85af27a5204bddf5058dff80c00cd2.tar.gz
samba-2b49ec356a85af27a5204bddf5058dff80c00cd2.tar.bz2
samba-2b49ec356a85af27a5204bddf5058dff80c00cd2.zip
Prototype update.
(This used to be commit 402639926f5d207ebefec296427dc3be0e979fe6)
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 285920ffc5..469dacdd82 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1286,9 +1286,12 @@ void SMBOWFencrypt(uchar passwd[16], uchar *c8, uchar p24[24]);
void NTLMSSPOWFencrypt(uchar passwd[8], uchar *ntlmchalresp, uchar p24[24]);
void SMBNTencrypt(uchar *passwd, uchar *c8, uchar *p24);
BOOL make_oem_passwd_hash(char data[516], const char *passwd, uchar old_pw_hash[16], BOOL unicode);
+BOOL encode_pw_buffer(char buffer[516], const char *new_pass,
+ int new_pw_len, BOOL nt_pass_set);
BOOL decode_pw_buffer(char in_buffer[516], char *new_pwrd,
int new_pwrd_size, uint32 *new_pw_len,
uchar nt_p16[16], uchar p16[16]);
+void nt_owf_genW(const UNISTR2 *pwd, uchar nt_p16[16]);
/* The following definitions come from libsmb/smberr.c */