Bug 36274 - Hostname with uppercase allowed when creating new school
Hostname with uppercase allowed when creating new school
Status: CLOSED WORKSFORME
Product: UCS@school
Classification: Unclassified
Component: UMC - Installer
UCS@school 3.2 R2
Other Linux
: P5 normal (vote)
: UCS@school 4.0 Errata
Assigned To: Florian Best
Sönke Schwardt-Krummrich
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-22 17:25 CEST by Timo Denissen
Modified: 2015-02-27 15:19 CET (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Denissen univentionstaff 2014-10-22 17:25:47 CEST
When creating a new school, the hostname for the new school server can begin with an uppercase character (eg. School1). When trying to install a server with the very same name (eg. School1.example.com) the installation wizard complains that the FQDN must be lowercase (eg. school1.example.com).

When creating a new school and the hostname begins with an uppercase character, it should be shown as warning.
Comment 1 Florian Best univentionstaff 2015-02-04 14:52:13 CET
The bug is against the wrong component, what really was meant is the following:
If you open the UCS@school installer to install a "Administrative server" you have to enter the hostname of the "Name of educational school server *".
This allows a normal regex of a hostname (regExp: '^[a-zA-Z0-9](([a-zA-Z0-9-]*)([a-zA-Z0-9]$))?$',).

The problem is that univention-system-setup in the appliance mode does not allow a valid hostname to be entered when installing a UCS system:
is_hostname.RE = re.compile("^[a-z]([a-z0-9-]*[a-z0-9])*$")

I am closing this bug as WORKSFORME then.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2015-02-13 14:13:53 CET
Is there a valid reason, that USS does not accept uppercase characters as hostname? If not, did you open a bug agaist USS? If yes, it should be fixed in UCS@school.
Is the join successful, if a camel case name as e.g. administrative server has been specified and the host is installed with a merely lowercase host name?
Comment 3 Florian Best univentionstaff 2015-02-16 17:38:53 CET
(In reply to Sönke Schwardt-Krummrich from comment #2)
> Is there a valid reason, that USS does not accept uppercase characters as
> hostname?
I don't see any valid reason, opened Bug #37816.
Comment 4 Sönke Schwardt-Krummrich univentionstaff 2015-02-19 16:09:24 CET
> I am closing this bug as WORKSFORME then.

VERIFIED
Comment 5 Sönke Schwardt-Krummrich univentionstaff 2015-02-27 15:19:40 CET
UCS@school 4.0 v2 has been released:
http://docs.univention.de/release-notes-ucsschool-4.0v2-de.html

If this error occurs again, please use "Clone This Bug".