support ldap for 3 sub host