Created attachment 16995 [details]
Using get_file_handle_for_metadata() in set_ea_dos_attribute() may trigger the "attempt to lock two sharemode simultaneously" assert in get_share_mode_lock().
We already have a pathref handle, use that one, no need to call get_file_handle_for_metadata().
Have patch, need bugnumber.
This bug was referenced in samba master:
Created attachment 16999 [details]
git-am fix for 4.15.next.
Cherry-pick from master.
Reassigning to Jule for inclusion in 4.15.
Pushed to autobuild-v4-15-test.
This bug was referenced in samba v4-15-test:
Closing out bug report.