mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
clifuse: Use direct FSCC info level
Avoid the magic -1000 Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
dd801b69c6
commit
939aa0e69e
@ -284,10 +284,14 @@ static void cli_get_unixattr_opened(struct tevent_req *subreq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
subreq = smb2cli_query_info_send(
|
subreq = smb2cli_query_info_send(
|
||||||
state, state->ev, cli->conn, 0,
|
state,
|
||||||
cli->smb2.session, cli->smb2.tcon,
|
state->ev,
|
||||||
|
cli->conn,
|
||||||
|
0,
|
||||||
|
cli->smb2.session,
|
||||||
|
cli->smb2.tcon,
|
||||||
1, /* in_info_type */
|
1, /* in_info_type */
|
||||||
(SMB_FILE_ALL_INFORMATION - 1000), /* in_file_info_class */
|
FSCC_FILE_ALL_INFORMATION, /* in_file_info_class */
|
||||||
0xFFFF, /* in_max_output_length */
|
0xFFFF, /* in_max_output_length */
|
||||||
NULL, /* in_input_buffer */
|
NULL, /* in_input_buffer */
|
||||||
0, /* in_additional_info */
|
0, /* in_additional_info */
|
||||||
|
Loading…
Reference in New Issue
Block a user