Closing this as search is working now (kind of) and there was already a ticket about only returning JIDs (linked).
wroot
May 7, 2019 at 12:25 PM
User in the chat reported, that current nightly now only returns JIDs (better than nothing, but still not complete). Although he can see in debug all values coming through.
A user reports that search does work when embedded database is used and not when MySQL is in use (Openfire 4.1.1, Spark 2.8.1). This might not be related to AD after all.
Some users report that search is not returning anything when users are pulled from AD. Regular search (with users in internal database) works fine.