https://bugzilla.redhat.com/show_bug.cgi?id=737581
especially from the UI, since someone may mistype.
From the UI or from the CLI, add a host where the hostname has a trailing space ...
ipa host-add "myhost .testrelm"
Actual results:
host added successfully
Expected results:
ipa: ERROR: invalid 'hostname': Leading and trailing spaces are not allowed
hostnames should be limited to a-z, 0-9 and -.
The error message you will receive will be something like "invalid 'fqdn': may only include letters, numbers and -.
The character set is defined in http://tools.ietf.org/html/rfc1123
attachment freeipa-rcrit-871-hostname.patch
Looks like Kerberos has limited support for non-ascii characters, see ticket #1845
Pushed the current patch:
master: 8cf8870[[BR]] ipa-2-1: a27a820
Lets deal with internationalized domains in #1845.
Metadata Update from @rcritten: - Issue assigned to rcritten - Issue set to the milestone: FreeIPA 2.1.2 (bug fixing)
Login to comment on this ticket.