mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3:client use more access bits for snapshot display
otherwise Windows server will reject the request for shadow copy enumeration with access denied
This commit is contained in:
parent
ab33691271
commit
cf7f68503d
@ -1757,7 +1757,8 @@ static int do_allinfo(const char *name)
|
|||||||
}
|
}
|
||||||
|
|
||||||
status = cli_ntcreate(cli, name, 0,
|
status = cli_ntcreate(cli, name, 0,
|
||||||
CREATE_ACCESS_READ, 0,
|
SEC_FILE_READ_DATA | SEC_FILE_READ_ATTRIBUTE |
|
||||||
|
SEC_STD_SYNCHRONIZE, 0,
|
||||||
FILE_SHARE_READ|FILE_SHARE_WRITE
|
FILE_SHARE_READ|FILE_SHARE_WRITE
|
||||||
|FILE_SHARE_DELETE,
|
|FILE_SHARE_DELETE,
|
||||||
FILE_OPEN, 0x0, 0x0, &fnum);
|
FILE_OPEN, 0x0, 0x0, &fnum);
|
||||||
|
Loading…
Reference in New Issue
Block a user