On 27.6.2016 10:30, Martin Basti wrote: > > > On 23.06.2016 18:32, Petr Spacek wrote: >> Hello, >> >> replica-install: Compare domain names as DNS names and not strings >> >> This fixes false possitive where user inputs "example.com" and "EXAMPLE.COM" >> were not considered equivalent and installation was wrongly refused. >> >> https://fedorahosted.org/freeipa/ticket/5976 >> > > NACK, client installer should normalize domain name as host-add does, because > it will blow up in different places, we cannot compare this part as DNS name > when other parts works with it as strings > > ipa.ipapython.install.cli.install_tool(Replica): ERROR Cannot promote this > client to a replica. Local domain 'ipa.example.COM' does not match IPA domain > 'ipa.example.com'.
Okay, I will use the same validator as ipa-server-install and normalize it as you suggested. -- Petr^2 Spacek -- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code