Take a look at this thread, which is solving a slightly different problem. It suggests exporting AD data and then using either a translate filter or an elasticsearch lookup into the exported data.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.