Reading of EA's using geteas from smbclient is failing when SMB2 or above is used. To reproduce: - mount linux file system using user_xattr parameter - add 'ea support = yes' to smb.conf - remount file system and restart smbd connect to filesystem using smbclient and -mSMB2 (or -mSMB3) attempt to set/get EAs, ie using the following: smb: \> setea TOP.LOG TEST abcdef smb: \> setea TOP.LOG TEST2 abcdefghijklmnopqrstuvwxyz smb: \> geteas TOP.LOG Results shown are: TEST (0) = [0000] 61 62 63 64 65 66 abcdef TEST (0) = [0000] 61 62 63 64 65 66 abcdef When connected via SMB1: smb: \> geteas TOP.LOG TEST (0) = [0000] 61 62 63 64 65 66 abcdef TEST2 (0) = [0000] 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 abcdefgh ijklmnop [0010] 71 72 73 74 75 76 77 78 79 7A qrstuvwx yz ie the EA's are _set_ correctly, but cannot be read over SMB2
Submitted a Patch to fix this. https://lists.samba.org/archive/samba-technical/2015-June/108211.html
Thanks - tested fix here and it works :)
Created attachment 11236 [details] git-am fix for 4.2.next, 4.1.next. Cherry-pick from master applies cleanly to 4.2.next, 4.1.next.
Comment on attachment 11236 [details] git-am fix for 4.2.next, 4.1.next. LGTM
Karolin, please add the patch to the next 4.1 and 4.2 release. Thanks!
Pushed to autobuild-v4-[1|2]-test.
(In reply to Karolin Seeger from comment #7) Pushed to both branches. Closing out bug report. Thanks!