set up ldap before all others