Univention Bugzilla – Bug 35033
Clarify the usage of "underscore" or "hyphen-minus"
Last modified: 2014-08-27 17:01:36 CEST
+++ This bug was initially created as a clone of Bug #35032 +++ As far as I understood hostnames with special characters like "-" are invalid. That's why the UMC Import Wizard does not allow to create new school-ou's with such characters in the hostname (or ou). With create_ou at the commandline new hostnames are creates with "-" per default if you don't specify the hostname: ....................................... The doc mentions to use "hyphen-minus" for dc names - the import script also uses this by default. The umc wizard sais you have to use underscores and prohibits hyphen-minus! What's wrong and what's correct?
(In reply to Tim Petersen from comment #0) > The doc mentions to use "hyphen-minus" for dc names - the import script also > uses this by default. The umc wizard sais you have to use underscores and > prohibits hyphen-minus! What's wrong and what's correct? According to http://support.microsoft.com/kb/909264/de, only "hyphen-minus" is ok and works for NETBIOS and DNS: """DNS-Computernamen dürfen nur alphabetische Zeichen (A-Z), numerische Zeichen (0-9), das Minuszeichen (-) und den Punkt (.) enthalten. Punkte sind nur zulässig, wenn sie dazu dienen, die Bestandteile von Domänennamen zu trennen.""" The manual should be check and updated once 35032 has been fixed (→ switched from underscore to hyphen).
The manual always states that a valid hostname character is the hyphen. Underscores are only mentioned for OU names.
Yes, but there are contradictions: Once the manual speaks of "Das Schulkürzel darf nur aus Groß- und Kleinbuchstaben sowie Ziffern und dem Unterstrich bestehen" but in some cases there is "Das Schulkürzel sollte ausschließlich aus Buchstaben, Ziffern oder dem Bindestrich bestehen, da es unter anderem die Grundlage für Gruppen-, Freigabe- und Rechnernamen bildet." Second one is better, I guess. Also note that technically this is a minus sign, not a hyphen. I guess hypens (–) may cause some trouble (but I did not check).
Contradictions fixed in r53090 | Bug #35033: possible characters for the school abbreviation > Also note that technically this is a minus sign, not a hyphen. I guess > hypens (–) may cause some trouble (but I did not check). Skipped this for now.
Ok
UCS@school 3.2 R2 v2 has been released: http://docs.univention.de/release-notes-ucsschool-3.2R2v2-de.html If this error occurs again, please use "Clone This Bug".