Fix all callers.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
struct timespec access_time,
struct timespec write_time,
struct timespec change_time,
- uint16_t attr)
+ uint32_t attr)
{
struct tevent_req *req = NULL, *subreq = NULL;
struct cli_setfileinfo_ext_state *state = NULL;
access_time,
write_time,
change_time,
- (uint32_t)attr);
+ attr);
if (smbXcli_conn_protocol(cli->conn) >= PROTOCOL_SMB2_02) {
state->in_data = (DATA_BLOB) {
struct timespec access_time,
struct timespec write_time,
struct timespec change_time,
- uint16_t attr)
+ uint32_t attr)
{
TALLOC_CTX *frame = NULL;
struct tevent_context *ev = NULL;
struct timespec access_time,
struct timespec write_time,
struct timespec change_time,
- uint16_t attr);
+ uint32_t attr);
NTSTATUS cli_setfileinfo_ext_recv(struct tevent_req *req);
NTSTATUS cli_setfileinfo_ext(
struct cli_state *cli,
struct timespec access_time,
struct timespec write_time,
struct timespec change_time,
- uint16_t attr);
+ uint32_t attr);
struct tevent_req *cli_qpathinfo2_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct cli_state *cli,
(struct timespec) { .tv_nsec = SAMBA_UTIME_OMIT }, /* access */
mtime,
(struct timespec) { .tv_nsec = SAMBA_UTIME_OMIT }, /* change */
- UINT16_MAX); /* mode */
+ UINT32_MAX); /* attr */
if (tevent_req_nomem(subreq, req)) {
return;
}