s3:smbd: pass expected_seq_low to smbd_initialize_smb2
authorRalph Boehme <slow@samba.org>
Wed, 7 Oct 2015 05:55:44 +0000 (06:55 +0100)
committerMichael Adam <obnox@samba.org>
Wed, 7 Oct 2015 09:29:11 +0000 (11:29 +0200)
This is in preparation of multi-channel connection passing. This commit
should have been part of 1bb46da.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Autobuild-User(master): Michael Adam <obnox@samba.org>
Autobuild-Date(master): Wed Oct  7 11:29:11 CEST 2015 on sn-devel-104

source3/smbd/smb2_server.c

index 7120ce5c2a32f030614d43cdf0636cf00801505c..29131eaae231803efabdb6d24460d8066651af37 100644 (file)
@@ -3161,7 +3161,7 @@ void smbd_smb2_process_negprot(struct smbXsrv_connection *xconn,
        DEBUG(10,("smbd_smb2_first_negprot: packet length %u\n",
                 (unsigned int)size));
 
-       status = smbd_initialize_smb2(xconn, 0);
+       status = smbd_initialize_smb2(xconn, expected_seq_low);
        if (!NT_STATUS_IS_OK(status)) {
                smbd_server_connection_terminate(xconn, nt_errstr(status));
                return;