mirror of
https://github.com/samba-team/samba.git
synced 2025-12-21 20:23:50 +03:00
@@ -1869,8 +1869,8 @@ BOOL cli_establish_connection(struct cli_state *cli,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* attempt encrypted session */
|
/* attempt encrypted session */
|
||||||
uchar nt_sess_pwd[24];
|
char nt_sess_pwd[24];
|
||||||
uchar lm_sess_pwd[24];
|
char lm_sess_pwd[24];
|
||||||
|
|
||||||
/* creates (storing a copy of) and then obtains a 24 byte password OWF */
|
/* creates (storing a copy of) and then obtains a 24 byte password OWF */
|
||||||
pwd_make_lm_nt_owf(&(cli->pwd), cli->cryptkey);
|
pwd_make_lm_nt_owf(&(cli->pwd), cli->cryptkey);
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ void nt_lm_owf_gen(char *pwd, uchar nt_p16[16], uchar p16[16])
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Does the des encryption from the NT or LM MD4 hash. */
|
/* Does the des encryption from the NT or LM MD4 hash. */
|
||||||
void SMBOWFencrypt(uchar passwd[16], uchar *c8, uchar p24[24])
|
void SMBOWFencrypt(uchar passwd[16], char *c8, uchar p24[24])
|
||||||
{
|
{
|
||||||
uchar p21[21];
|
uchar p21[21];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user