smbstatus should optionally allow to print usernames for locked files. smbstatus -L --resolve-uids Which then prints a username.
Created attachment 15009 [details] patch for 4.10
Comment on attachment 15009 [details] patch for 4.10 LGTM
Karolin, could you please add it to Samba 4.10? Thanks!
(In reply to Andreas Schneider from comment #3) Pushed to autobuild-v4-10-test.
Karolin, I don't see this in v4-10-test yet. Just want to make sure that this will get it :-)
(In reply to Andreas Schneider from comment #5) Pushed to autobuild-v4-10-test again.
(In reply to Karolin Seeger from comment #6) Pushed to v4-10-test. Closing out bug report. Thanks!