diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-07-13 14:31:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:10:07 -0500 |
commit | 669e5d0fab89cc6c64010d321223c3948cd676f8 (patch) | |
tree | 46bb6566931dc78306133a73890b4fa148493426 /source4 | |
parent | 4c499cb45fa2452756642ab7017c1a9f321b73f6 (diff) | |
download | samba-669e5d0fab89cc6c64010d321223c3948cd676f8.tar.gz samba-669e5d0fab89cc6c64010d321223c3948cd676f8.tar.bz2 samba-669e5d0fab89cc6c64010d321223c3948cd676f8.zip |
r17009: set the protocol version correct
metze
(This used to be commit 24ec382560de356704bcbf6cd1ee52182231e970)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/smb_server/smb2/negprot.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/smb_server/smb2/negprot.c b/source4/smb_server/smb2/negprot.c index 66ba902746..957bb9204a 100644 --- a/source4/smb_server/smb2/negprot.c +++ b/source4/smb_server/smb2/negprot.c @@ -88,6 +88,8 @@ static NTSTATUS smb2srv_negprot_backend(struct smb2srv_request *req, struct smb2 struct timeval current_time; struct timeval boot_time; + req->smb_conn->negotiate.protocol = PROTOCOL_SMB2; + current_time = timeval_current(); /* TODO: handle timezone?! */ boot_time = timeval_current(); /* TODO: fix me */ |