working on ldap hosts interface