summaryrefslogtreecommitdiff
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-25 23:20:18 +0200
committerStefan Metzmacher <metze@samba.org>2013-10-05 14:04:08 +0200
commit1bd2ab41611fc66386d8d7d0e4c7d4f948177eab (patch)
tree5b67eea907838f0277764373c4d952b35318d85a /source3/smbd/globals.h
parent9769f0697714dcd7835b1c5692a5352e176c9418 (diff)
downloadsamba-1bd2ab41611fc66386d8d7d0e4c7d4f948177eab.tar.gz
samba-1bd2ab41611fc66386d8d7d0e4c7d4f948177eab.tar.bz2
samba-1bd2ab41611fc66386d8d7d0e4c7d4f948177eab.zip
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>
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index 9ea5e25bc0..6beee59e7b 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -457,7 +457,7 @@ NTSTATUS smb2srv_open_lookup(struct smbXsrv_connection *conn,
NTSTATUS smb2srv_open_recreate(struct smbXsrv_connection *conn,
struct auth_session_info *session_info,
uint64_t persistent_id,
- struct GUID create_guid,
+ const struct GUID *create_guid,
NTTIME now,
struct smbXsrv_open **_open);
struct smbXsrv_open_global0;