From 9239b8e8d3f490ee1452820c61742f455d67e095 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 10 Aug 2007 09:53:42 +0000 Subject: r24306: the check_fsp() function has an explicit user argument so use it... metze (This used to be commit 4154bee0d91dd2ace9a7a627418f652d0d11b959) --- source3/smbd/reply.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit