added localhost as host for ldap operations