git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b58bdfd
)
smb2_create_durable_reconnect: update the pid in the share-mode entry from the smbXsr...
author
Michael Adam
<obnox@samba.org>
Mon, 13 Feb 2012 21:59:53 +0000
(22:59 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 10 May 2012 16:41:45 +0000
(18:41 +0200)
source3/smbd/smb2_create.c
patch
|
blob
|
history
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