Bug 51901 - Hostname length
Hostname length
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on: 30225
Blocks:
  Show dependency treegraph
 
Reported: 2020-08-24 13:09 CEST by Charles Williams
Modified: 2020-08-28 15:18 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 3: Will affect average number of installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.171
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 Charles Williams 2020-08-24 13:09:20 CEST
Hostname length is hard coded to 13 characters maximum. If this is intentional (which I can't imagine why it would be) there should be a warning on the page asking for the hostname.
Comment 1 Charles Williams 2020-08-24 13:11:19 CEST
Possibly allow normal Linux hostname lengths when asking for a hostname
Comment 2 Philipp Hahn univentionstaff 2020-08-24 13:49:07 CEST
See Bug #30225 for an explanation on why 13 characters.
Comment 3 Charles Williams 2020-08-24 14:52:30 CEST
So basically the best option is to artificially limit our options instead of letting us provide a shorter name for samba. makes sense.
Comment 4 Arvid Requate univentionstaff 2020-08-28 15:18:55 CEST
AFAICS the installer only warns if I use longname1234567890.
The popup shows two buttons: "Adjust hostname" and "Continue".
The latter allows me to continue with the software selection.

FYI: Apart from installation, the Univention Management Console and
Univention Directory Manager allow creating machine identity accounts
with hostnames up to 63 characters. That's the default limit of
the UDM syntax "hostName".

If you can clarify your request feel free to reopen the bug report
with additional information.