diff options
author | Volker Lendecke <vl@samba.org> | 2008-06-15 13:37:53 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-06-15 13:37:53 +0200 |
commit | d49de28f1154140f63670cfbf5093cdee6f16eb0 (patch) | |
tree | a0307d31c687482458946b0e3c86e8383d72ca74 /source3/smbd/open.c | |
parent | 3a5e1cacf1495a37143b15725c5d226088b2473a (diff) | |
download | samba-d49de28f1154140f63670cfbf5093cdee6f16eb0.tar.gz samba-d49de28f1154140f63670cfbf5093cdee6f16eb0.tar.xz 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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/smbd/open.c b/source3/smbd/open.c index 546128c0e57..9b847ec877c 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; |