In verison 7.1 of elasticsearch you can set follow_referrals to false: https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html
Specifies whether Elasticsearch should follow referrals returned by the LDAP server. Referrals are URLs returned by the server that are to be used to continue the LDAP operation (for example, search). Defaults to
I don’t see that is an option in the open distro security config file under the ldap sections. Is this possible to enable?