Mixed LDAP/AD and UP authentication mode