s3: libsmb: Make a comment note that cli_set_ea() needs some internal changes before...
authorJeremy Allison <jra@samba.org>
Thu, 18 Aug 2016 21:20:11 +0000 (14:20 -0700)
committerUri Simchoni <uri@samba.org>
Fri, 19 Aug 2016 18:03:13 +0000 (20:03 +0200)
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>
source3/libsmb/clifile.c

index 02a84ff5ace23ba113879dd3be9181cfdcf044a7..5a938e16bb22a77b8f1b1e953931b81d2fc11090 100644 (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,