This worked in Samba 3.0.x, but the functionality has been lost since 3.5.x and above.
Created attachment 14236 [details]
git-am fix for 4.8.next.
Created attachment 14237 [details]
git-am fix for 4.7.next.
Doesn't include test in 4.7.x cherry-pick, test infrastructure used for spoolss tests isn't in 4.7.x. Fix is simple enough for 4.7.next I'm confident in its correctness.
Karolin, could you please add the patches to the relevant branches? Thanks.
(In reply to Andreas Schneider from comment #3)
Sure. Pushed to autobuild-v4-[7,8]-test.
(In reply to Karolin Seeger from comment #4)
Pushed to both branches.
Closing out bug report.