From: Volker Lendecke Date: Tue, 26 May 2020 06:04:52 +0000 (+0200) Subject: smbclient: Remove the CREATE_ACCESS_READ #define X-Git-Tag: ldb-2.2.0~276 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4b7d590608accdf1ade571c7caa14f4d7de5781;p=thirdparty%2Fsamba.git smbclient: Remove the CREATE_ACCESS_READ #define That only confuses things Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/client/client.c b/source3/client/client.c index 623d4668029..2a95911f54d 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -66,8 +66,6 @@ static int max_protocol = -1; static int process_tok(char *tok); static int cmd_help(void); -#define CREATE_ACCESS_READ READ_CONTROL_ACCESS - /* value for unused fid field in trans2 secondary request */ #define FID_UNUSED (0xFFFF) @@ -610,7 +608,7 @@ static NTSTATUS display_finfo(struct cli_state *cli_state, struct file_info *fin cli_state, /* cli */ afname, /* fname */ 0, /* CreatFlags */ - CREATE_ACCESS_READ, /* DesiredAccess */ + READ_CONTROL_ACCESS, /* DesiredAccess */ 0, /* FileAttributes */ FILE_SHARE_READ| FILE_SHARE_WRITE, /* ShareAccess */