summaryrefslogtreecommitdiff
path: root/source3/smbd/open.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-06-15 13:37:53 +0200
committerVolker Lendecke <vl@samba.org>2008-06-15 13:37:53 +0200
commitd49de28f1154140f63670cfbf5093cdee6f16eb0 (patch)
treea0307d31c687482458946b0e3c86e8383d72ca74 /source3/smbd/open.c
parent3a5e1cacf1495a37143b15725c5d226088b2473a (diff)
downloadsamba-d49de28f1154140f63670cfbf5093cdee6f16eb0.tar.gz
samba-d49de28f1154140f63670cfbf5093cdee6f16eb0.tar.bz2
samba-d49de28f1154140f63670cfbf5093cdee6f16eb0.zip
Remove the current_user reference from fake_file.c
The current vuid is not only available there, it is also in the current smb_request structure. (This used to be commit c8fd5eef32a86888c7a28317f0fdf717a26b7d4c)
Diffstat (limited to 'source3/smbd/open.c')
-rw-r--r--source3/smbd/open.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c
index 546128c0e5..9b847ec877 100644
--- a/source3/smbd/open.c
+++ b/source3/smbd/open.c
@@ -2990,7 +2990,8 @@ NTSTATUS create_file(connection_struct *conn,
* also tries a QUERY_FILE_INFO on the file and then
* close it
*/
- status = open_fake_file(conn, fake_file_type, fname,
+ status = open_fake_file(conn, req->vuid,
+ fake_file_type, fname,
access_mask, &fsp);
if (!NT_STATUS_IS_OK(status)) {
goto fail;