For v4.12 backport.
Created attachment 15902 [details] patch for 4.12 branch Pipeline: https://gitlab.com/samba-team/devel/samba/-/commits/iboukris-v4-12-test
Comment on attachment 15902 [details] patch for 4.12 branch LGTM
Karolin please add to v4.12, thanks!
(In reply to Guenther Deschner from comment #3) Pushed to autobuild-v4-12-test.
(In reply to Karolin Seeger from comment #4) Pushed to v4-12-test. Closing out bug report. Thanks!