git.samba.org
/
metze
/
samba
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
smb2_create_durable_reconnect: update the pid in the share-mode entry from the smbXsr...
[metze/samba/wip.git]
/
source3
/
smbd
/
smb2_create.c
diff --git
a/source3/smbd/smb2_create.c
b/source3/smbd/smb2_create.c
index 108be751d7455ebd16b350277cd0569210ac92d4..4731319c476277c3f309dc4ea4712480e175004e 100644
(file)
--- a/
source3/smbd/smb2_create.c
+++ b/
source3/smbd/smb2_create.c
@@
-442,6
+442,9
@@
static NTSTATUS smb2_create_durable_reconnect(struct smbXsrv_open *op,
return NT_STATUS_OBJECT_NAME_NOT_FOUND;
}
+ sharemode_lock->data->share_modes[0].pid =
+ messaging_server_id(op->connection->sconn->msg_ctx);
+
/*
* - reopen the file with SMB_VFS_OPEN()
* - build a files_struct