1
0
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:
Volker Lendecke 2019-04-10 21:34:24 +02:00 committed by Christof Schmitt
parent 9ca5b61157
commit b9b35947c7

View File

@ -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;