From 8de46eac65deb33cd91fa242fb89fb59dc3cac42 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 13 Sep 2012 17:12:24 -0700 Subject: Add 'bool use_privs' to smbd_calculate_access_mask(). Replaces blanket root allow if set. Set to 'false' for all current callers. Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Sat Sep 15 00:37:49 CEST 2012 on sn-devel-104 --- source3/smbd/fake_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd/fake_file.c') diff --git a/source3/smbd/fake_file.c b/source3/smbd/fake_file.c index d052d4965d..3f9e2aec05 100644 --- a/source3/smbd/fake_file.c +++ b/source3/smbd/fake_file.c @@ -129,7 +129,7 @@ NTSTATUS open_fake_file(struct smb_request *req, connection_struct *conn, files_struct *fsp = NULL; NTSTATUS status; - status = smbd_calculate_access_mask(conn, smb_fname, + status = smbd_calculate_access_mask(conn, smb_fname, false, access_mask, &access_mask); if (!NT_STATUS_IS_OK(status)) { DEBUG(10, ("open_fake_file: smbd_calculate_access_mask " -- cgit