When using "store dos attributes = yes", the function that reads the attributes from the xattr will overwrite the attribute previously set for "hide dot files". According to smb.conf, "store dos attributes = yes" should only overwrite the "map XXX" options, but not "hide dot files".
Created attachment 11728 [details] Patch for 4.1 and 4.2, backported from master
Created attachment 11729 [details] Patch for 4.3 cherry-picked from master
Comment on attachment 11729 [details] Patch for 4.3 cherry-picked from master LGTM.
Comment on attachment 11728 [details] Patch for 4.1 and 4.2, backported from master LGTM.
Re-assigning to Karolin for inclusion in 4.3.next, 4.2.next.
Pushed to autobuild-v4-[2|3]-test.
(In reply to Karolin Seeger from comment #6) Pushed to both branches! Closing out bug report. Thanks!