1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: libsmb: Make a comment note that cli_set_ea() needs some internal changes before cli_set_ea_path() can use previous path versions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12165

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
This commit is contained in:
Jeremy Allison 2016-08-18 14:20:11 -07:00 committed by Uri Simchoni
parent 97cde5dc92
commit e4a261c6c8

View File

@ -4672,6 +4672,15 @@ static NTSTATUS cli_set_ea(struct cli_state *cli, uint16_t setup_val,
memcpy(p+4+ea_namelen+1, ea_val, ea_len);
}
/*
* FIXME - if we want to do previous version path
* processing on an EA set call we need to turn this
* into calls to cli_trans_send()/cli_trans_recv()
* with a temporary event context, as cli_trans_send()
* have access to the additional_flags2 needed to
* send @GMT- paths. JRA.
*/
status = cli_trans(talloc_tos(), cli, SMBtrans2, NULL, -1, 0, 0,
setup, 1, 0,
param, param_len, 2,