This code path fails due to a syntax error in the ldap query. Patch to follow.
Created attachment 11122 [details] Backported patches for 4.1
Created attachment 11123 [details] Backported patches for 4.2
Re-assigning to Karolin for inclusion in 4.2.next, 4.1.next.
(In reply to Jeremy Allison from comment #3) Pushed to autobuild-v4-[1|2]-test.
(In reply to Karolin Seeger from comment #4) Pushed to v4-2-test. autobuild-v4-1-test failed, re-trying.
Pushed to v4-1-test. Closing out bug report. Thanks!