#2420 Invalid host-add when hostname contains trailing dot
Closed: Fixed None Opened 12 years ago by pvoborni.

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

Metadata Update from @pvoborni:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 2.2 Core Effort - 2012/02

7 years ago

Login to comment on this ticket.

Metadata