Bug 55171

Summary: Hostname max. 13 positions usable
Product: UCS manual Reporter: Mirac Erdemiroglu <erdemiroglu>
Component: Domain services / LDAPAssignee: Nico Gulden <gulden>
Status: CLOSED FIXED QA Contact: Florian Best <best>
Severity: normal    
Priority: P5 CC: erdemiroglu, gulden
Version: unspecified   
Target Milestone: UCS 5.0-2   
Hardware: Other   
OS: Linux   
URL: https://git.knut.univention.de/univention/ucs/-/merge_requests/541
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=31688
https://forge.univention.org/bugzilla/show_bug.cgi?id=31689
https://forge.univention.org/bugzilla/show_bug.cgi?id=55284
What kind of report is it?: Bug Report What type of bug is this?: 6: Setup Problem: Issue for the setup process
Who will be affected by this bug?: 5: Will affect all installed domains How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.514 Enterprise Customer affected?: Yes
School Customer affected?: Yes ISV affected?:
Waiting Support: Yes Flags outvoted (downgraded) after PO Review:
Ticket number: 2022090221000481, 2022101721000584 Bug group (optional):
Max CVSS v3 score:

Description Mirac Erdemiroglu univentionstaff 2022-09-05 10:54:20 CEST
The host name in the domain setup can be max. 13 digits. Underscores are also not accepted.
This information should be added in the manuals, please.
Comment 3 Nico Gulden univentionstaff 2022-10-17 16:38:14 CEST
(In reply to Mirac Erdemiroglu from comment #0)
> The host name in the domain setup can be max. 13 digits. Underscores are
> also not accepted.
> This information should be added in the manuals, please.

I guess you mean 13 characters that must be either characters [a-z] or digits [0-9]. Right?
Comment 4 Mirac Erdemiroglu univentionstaff 2022-10-17 16:56:01 CEST
I guess it don't matter, just 13 positions max could be used for the host name in the domain setup.
Comment 5 Nico Gulden univentionstaff 2022-10-18 16:25:06 CEST
After discussion in the dev team it's:

* Maximum length of 13 characters

* Allowed characters: alpha numeric [a-z0-9]

* Start and end only alpha numeric characters. In between a hyphen (-) is allowed.
Comment 6 Nico Gulden univentionstaff 2022-10-18 16:51:50 CEST
QA was done.
Comment 7 Nico Gulden univentionstaff 2022-10-18 16:54:09 CEST
The manual now has a section about hostname naming conventions: https://docs.software-univention.de/manual/5.0/en/installation.html#naming-convention-for-hostnames