mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
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>
This commit is contained in:
parent
d8cd54962b
commit
9769f06977
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user