ldap_search function fixed

the login is only for a specific AD group