1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-29 13:49:30 +03:00

ZERO_STRUCT() of info3 structure before using it.

(This used to be commit efe7f818c9)
This commit is contained in:
Tim Potter
2000-06-14 01:48:08 +00:00
parent 30fdd204f4
commit 31e83abd3d

View File

@ -1485,6 +1485,8 @@ BOOL domain_client_validate( char *user, char *domain,
/* We really don't care what LUID we give the user. */
generate_random_buffer( (unsigned char *)&smb_uid_low, 4, False);
ZERO_STRUCT(info3);
if(cli_nt_login_network(&cli, domain, user, smb_uid_low, (char *)local_challenge,
((smb_apasslen != 0) ? smb_apasswd : NULL),
((smb_ntpasslen != 0) ? smb_ntpasswd : NULL),