git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3276853
)
s3:libsmb: Plumb cli_smb2_set_ea_fnum() inside cli_set_ea_fnum().
author
Jeremy Allison
<jra@samba.org>
Wed, 7 Aug 2013 23:32:55 +0000
(16:32 -0700)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 15 Aug 2013 07:07:07 +0000
(09:07 +0200)
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/libsmb/clifile.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/clifile.c
b/source3/libsmb/clifile.c
index 2cfe7cd2415ed74a2b568e070fdc0769f47b2ac3..d186112d42fa4747f1e411692bc2bf41ba501838 100644
(file)
--- a/
source3/libsmb/clifile.c
+++ b/
source3/libsmb/clifile.c
@@
-4365,6
+4365,14
@@
NTSTATUS cli_set_ea_fnum(struct cli_state *cli, uint16_t fnum,
{
uint8_t param[6];
+ if (smbXcli_conn_protocol(cli->conn) >= PROTOCOL_SMB2_02) {
+ return cli_smb2_set_ea_fnum(cli,
+ fnum,
+ ea_name,
+ ea_val,
+ ea_len);
+ }
+
memset(param, 0, 6);
SSVAL(param,0,fnum);
SSVAL(param,2,SMB_INFO_SET_EA);