From 89c55485c3cc6eefdd7af20f79b1d219cace5066 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 29 Feb 2012 17:04:08 -0800 Subject: Add the implementation of check_reduced_name_with_privilege(). Now to plumb into SMB1 requests. --- source3/smbd/filename.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'source3/smbd/filename.c') diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index b3e132b7ea6..95e8c144098 100644 --- a/source3/smbd/filename.c +++ b/source3/smbd/filename.c @@ -1021,7 +1021,7 @@ NTSTATUS check_name(connection_struct *conn, const char *name) } /**************************************************************************** - Must be called as root. Creates the struct priv_backup_restore_paths structure + Must be called as root. Creates the struct privilege_paths attached to the struct smb_request if this call is successful. ****************************************************************************/ @@ -1036,8 +1036,7 @@ static NTSTATUS check_name_with_privilege(connection_struct *conn, } return check_reduced_name_with_privilege(conn, name, - NULL, - NULL); + smbreq); } /**************************************************************************** -- cgit