diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-10-28 09:14:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:26 -0500 |
commit | 3dc75cc84f92af9a72d52e7c9299b47c01368544 (patch) | |
tree | ae5406d0a7ee6dce3a2ec9158b2b751bc4902e8c | |
parent | 152988a828ee958b9452474885460e9e46f65e79 (diff) | |
download | samba-3dc75cc84f92af9a72d52e7c9299b47c01368544.tar.gz samba-3dc75cc84f92af9a72d52e7c9299b47c01368544.tar.bz2 samba-3dc75cc84f92af9a72d52e7c9299b47c01368544.zip |
r11367: Ensure to intialise the new logon_parameters (0 for session setups).
Andrew Bartlett
(This used to be commit abff53b6339b7924ff705c7e3685135e85d8ed7a)
-rw-r--r-- | source4/smb_server/sesssetup.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |