smbd:smb2: successfully answer a DHnC request when the initial create was DH2Q
authorMichael Adam <obnox@samba.org>
Wed, 25 Sep 2013 21:20:18 +0000 (23:20 +0200)
committerStefan Metzmacher <metze@samba.org>
Sat, 5 Oct 2013 12:04:08 +0000 (14:04 +0200)
commit1bd2ab41611fc66386d8d7d0e4c7d4f948177eab
tree5b67eea907838f0277764373c4d952b35318d85a
parent9769f0697714dcd7835b1c5692a5352e176c9418
smbd:smb2: successfully answer a DHnC request when the initial create was DH2Q

I.e. the durable reconnect attempt is v1 while the original create was durable
v2 including the create guid.

Implement this by skipping the create_guid verification when
the reconnect request is v1.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/globals.h
source3/smbd/smb2_create.c
source3/smbd/smbXsrv_open.c