1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

r11367: Ensure to intialise the new logon_parameters (0 for session setups).

Andrew Bartlett
(This used to be commit abff53b6339b7924ff705c7e3685135e85d8ed7a)
This commit is contained in:
Andrew Bartlett 2005-10-28 09:14:16 +00:00 committed by Gerald (Jerry) Carter
parent 152988a828
commit 3dc75cc84f

View File

@ -78,6 +78,7 @@ static NTSTATUS sesssetup_old(struct smbsrv_request *req, union smb_sesssetup *s
}
user_info->mapped_state = False;
user_info->logon_parameters = 0;
user_info->flags = 0;
user_info->client.account_name = sess->old.in.user;
user_info->client.domain_name = sess->old.in.domain;
@ -187,6 +188,7 @@ static NTSTATUS sesssetup_nt1(struct smbsrv_request *req, union smb_sesssetup *s
}
user_info->mapped_state = False;
user_info->logon_parameters = 0;
user_info->flags = 0;
user_info->client.account_name = sess->nt1.in.user;
user_info->client.domain_name = sess->nt1.in.domain;