host-add creates host with invalid hostname when hostname contains trailing dot.
With dot:
ipa host-add wwww26.farm.unix.bla.it. --ip-address=192.168.10.126 ------------------------------------- Added host "wwww26.farm.unix.bla.it." ------------------------------------- Host name: wwww26.farm.unix.bla.it., wwww26.farm.unix.bla.it Principal name: host/wwww26.farm.unix.bla.it.@TEST.EXAMPLE.COM Password: False Keytab: False Managed by: wwww26.farm.unix.bla.it
Without dot:
ipa host-add wwww27.farm.unix.bla2.it --ip-address=192.168.10.127 ------------------------------------- Added host "wwww27.farm.unix.bla2.it" ------------------------------------- Host name: wwww27.farm.unix.bla2.it Principal name: host/wwww27.farm.unix.bla2.it@TEST.EXAMPLE.COM Password: False Keytab: False Managed by: wwww27.farm.unix.bla2.it
Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=797562
master: fab033b[[BR]] ipa-2-2: 3f50b0e
Metadata Update from @pvoborni: - Issue assigned to mkosek - Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02
Login to comment on this ticket.