Moved validate_hostname check to server name entry

Validation of hostname has been moved from the LDAP hostname to the main
server hostname entry, as this is where it is really needed.