summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2013-09-25 20:40:11 +0200
committerStefan Metzmacher <metze@samba.org>2013-10-05 14:04:08 +0200
commit9769f0697714dcd7835b1c5692a5352e176c9418 (patch)
tree1af213b91c08af97ec6d573401e0463a1ad53e45
parentd8cd54962b158527e61e82a79eb49ee6da12c5a4 (diff)
downloadsamba-9769f0697714dcd7835b1c5692a5352e176c9418.tar.gz
samba-9769f0697714dcd7835b1c5692a5352e176c9418.tar.bz2
samba-9769f0697714dcd7835b1c5692a5352e176c9418.zip
smbd:smb2_create: add comment about validity of check reconnect blob being only one
With leases this will not be true any more. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--source3/smbd/smb2_create.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/smb2_create.c b/source3/smbd/smb2_create.c
index 4f2edfca2c..93cccf8445 100644
--- a/source3/smbd/smb2_create.c
+++ b/source3/smbd/smb2_create.c
@@ -470,6 +470,8 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
if (in_context_blobs.num_blobs != 1) {
/*
* DHNC should be the only one.
+ * TODO: This is only true for the oplock case!
+ * For leases, lease request is required additionally!
*/
tevent_req_nterror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND);
return tevent_req_post(req, ev);
@@ -486,6 +488,8 @@ static struct tevent_req *smbd_smb2_create_send(TALLOC_CTX *mem_ctx,
if (in_context_blobs.num_blobs != 1) {
/*
* DH2C should be the only one.
+ * TODO: This is only true for the oplock case!
+ * For leases, lease request is required additionally!
*/
tevent_req_nterror(req, NT_STATUS_OBJECT_NAME_NOT_FOUND);
return tevent_req_post(req, ev);