mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
smbd: Use share_mode_entry's lease data in vfs_default_durable_reconnect()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org>
This commit is contained in:
parent
9ca5b61157
commit
b9b35947c7
@ -723,10 +723,10 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn,
|
||||
|
||||
/*
|
||||
* Ensure the existing client guid matches the
|
||||
* stored one in the share_mode_lease.
|
||||
* stored one in the share_mode_entry.
|
||||
*/
|
||||
if (!GUID_equal(fsp_client_guid(fsp),
|
||||
&l->client_guid)) {
|
||||
&e->client_guid)) {
|
||||
TALLOC_FREE(lck);
|
||||
fsp_free(fsp);
|
||||
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
|
||||
|
Loading…
x
Reference in New Issue
Block a user