From 31e83abd3d275014c2841e66f5d46ef0997e5737 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Wed, 14 Jun 2000 01:48:08 +0000 Subject: ZERO_STRUCT() of info3 structure before using it. (This used to be commit efe7f818c927a925f2dee1ef4f6040c137e0c84e) --- source3/smbd/password.c | 2 ++ 1 file changed, 2 insertions(+) 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), -- cgit