Added more fallbacks for non-administrators.
Enhanced master LDAP server detection.