Created attachment 8994 [details] patches cherry-picked from master This patch comes to us from the process of building the new experimental Samba 4.0 packages for Debian.
Comment on attachment 8994 [details] patches cherry-picked from master I would like to get this simple fix into 4.0.7 to avoid carrying the patch in debian.
Comment on attachment 8994 [details] patches cherry-picked from master Looks reasonable
Karolin, please pick for 4.0.next
Pushed to autobuild-v4-0-test.
Pushed to v4-0-test. Closing out bug report. Thanks!