189 Fixed checkHostname to regrab ldap,trustedapp, and database string decoded.