summaryrefslogtreecommitdiff
path: root/source3/utils/smbcacls.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/utils/smbcacls.c')
-rw-r--r--source3/utils/smbcacls.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 5f4dd7400da..b58a0f8cce1 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -34,9 +34,6 @@
#include "util_sd.h"
static int test_args;
-
-#define CREATE_ACCESS_READ READ_CONTROL_ACCESS
-
static int sddl;
static int query_sec_info = -1;
static int set_sec_info = -1;
@@ -241,7 +238,7 @@ static uint16_t get_fileinfo(struct cli_state *cli, const char *filename)
cli, /* cli */
filename, /* fname */
0, /* CreatFlags */
- CREATE_ACCESS_READ, /* CreatFlags */
+ READ_CONTROL_ACCESS, /* CreatFlags */
0, /* FileAttributes */
FILE_SHARE_READ|
FILE_SHARE_WRITE, /* ShareAccess */