From aa0a7cf51a8b4ed2f188c2c38c4d5d47688de9ad Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 13 Sep 2012 16:11:31 -0700 Subject: Add bool use_privs parameter to smbd_check_access_rights() If this is set we should use it in preference to blindly assuming root can do anything. Currently set to 'false' in (most) callers. --- source3/smbd/proto.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/smbd/proto.h') diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 5d6a299973..a1cef16139 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -598,6 +598,7 @@ void reply_nttranss(struct smb_request *req); NTSTATUS smbd_check_access_rights(struct connection_struct *conn, const struct smb_filename *smb_fname, + bool use_privs, uint32_t access_mask); NTSTATUS fd_open(struct connection_struct *conn, files_struct *fsp, int flags, mode_t mode); -- cgit