From 3dc75cc84f92af9a72d52e7c9299b47c01368544 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 28 Oct 2005 09:14:16 +0000 Subject: r11367: Ensure to intialise the new logon_parameters (0 for session setups). Andrew Bartlett (This used to be commit abff53b6339b7924ff705c7e3685135e85d8ed7a) --- source4/smb_server/sesssetup.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') diff --git a/source4/smb_server/sesssetup.c b/source4/smb_server/sesssetup.c index bdd4a3fab2..0dfdb488a6 100644 --- a/source4/smb_server/sesssetup.c +++ b/source4/smb_server/sesssetup.c @@ -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; -- cgit