support LDAP on travis