diff options
author | Jeremy Allison <jra@samba.org> | 2012-02-29 17:04:08 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-02-29 17:04:08 -0800 |
commit | 89c55485c3cc6eefdd7af20f79b1d219cace5066 (patch) | |
tree | 66b0de8b952da922cf5c4c6659a2bad5b3f43bff /source3/smbd/filename.c | |
parent | 442e79efbdc9dfaf5774c67edb3460603d63d2a5 (diff) | |
download | samba-89c55485c3cc6eefdd7af20f79b1d219cace5066.tar.gz samba-89c55485c3cc6eefdd7af20f79b1d219cace5066.tar.bz2 samba-89c55485c3cc6eefdd7af20f79b1d219cace5066.zip |
Add the implementation of check_reduced_name_with_privilege(). Now to plumb into
SMB1 requests.
Diffstat (limited to 'source3/smbd/filename.c')
-rw-r--r-- | source3/smbd/filename.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/filename.c b/source3/smbd/filename.c index b3e132b7ea..95e8c14409 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); } /**************************************************************************** |