diff options
author | Tim Potter <tpot@samba.org> | 2000-06-14 01:48:08 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-06-14 01:48:08 +0000 |
commit | 31e83abd3d275014c2841e66f5d46ef0997e5737 (patch) | |
tree | 6ddf9c3a25f931d40921bd0bf9a1db24ddbfe909 /source3 | |
parent | 30fdd204f44cd06b716736e7fd64942a8d7b6f84 (diff) | |
download | samba-31e83abd3d275014c2841e66f5d46ef0997e5737.tar.gz samba-31e83abd3d275014c2841e66f5d46ef0997e5737.tar.bz2 samba-31e83abd3d275014c2841e66f5d46ef0997e5737.zip |
ZERO_STRUCT() of info3 structure before using it.
(This used to be commit efe7f818c927a925f2dee1ef4f6040c137e0c84e)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/password.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index c38a6a0f2b..06f4d72a40 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -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), |