Fixed issue #9035: LDAP-search and bind not working with MS ActiveDirectory

Dev: AD needs referrals disabled. Added option in
Dev: plugin settings