summaryrefslogtreecommitdiff
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-08-10 09:53:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:29:26 -0500
commit9239b8e8d3f490ee1452820c61742f455d67e095 (patch)
tree0fc216d583f58d0044bb60b889305d7bb1e08971 /source3/smbd/reply.c
parent9342df70273f7c52ba1c6015c7e4addff7f78a4f (diff)
downloadsamba-9239b8e8d3f490ee1452820c61742f455d67e095.tar.gz
samba-9239b8e8d3f490ee1452820c61742f455d67e095.tar.bz2
samba-9239b8e8d3f490ee1452820c61742f455d67e095.zip
r24306: the check_fsp() function has an explicit user argument
so use it... metze (This used to be commit 4154bee0d91dd2ace9a7a627418f652d0d11b959)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 17bcab12fd..c02bbc8719 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -295,7 +295,7 @@ BOOL check_fsp(connection_struct *conn, struct smb_request *req,
reply_nterror(req, NT_STATUS_INVALID_HANDLE);
return False;
}
- if (((conn) != (fsp)->conn) || current_user.vuid != (fsp)->vuid) {
+ if (((conn) != (fsp)->conn) || user->vuid != (fsp)->vuid) {
reply_nterror(req, NT_STATUS_INVALID_HANDLE);
return False;
}