working on ldap hosts