Description of problem: When you feed a alternate domain to ipa-client-install, ipa-client install doesn't seem to try binging to your provided domain/server, but only looks in DNS for information. How reproducible: always Steps to Reproduce: 1. set up 2 working ipa-servers 2. create a seperate host with ipa-client installed 3. set it's resolv.conf to point to the first ipa-server, with it's domain 4. run ipa-client-install feeding it the settings of the second ipa-server Actual results: + /usr/sbin/ipa-client-install --domain=SECOND.SERVER.DOMAIN.REDHAT.COM --server=4.2.2.2 --unattended Discovery was successful! Realm: DSQA.SJC2.REDHAT.COM DNS Domain: dsqa.sjc2.redhat.com IPA Server: iparhel5-64vm.dsqa.sjc2.redhat.com BaseDN: dc=dsqa,dc=sjc2,dc=redhat,dc=com SECOND.SERVER.DOMAIN.REDHAT.COM and iparhel5-64vm.dsqa.sjc2.redhat.com are not the same. Client configuration complete. + ret=0 + '[' 0 == 0 ']' + echo 'ERROR - ipa-client-install worked when it was fed bad info' ERROR - ipa-client-install worked when it was fed bad info + exit Expected results: ipa-client-install to bind to the second server, possible trowing out a message about a bad DNS configuration.
failed against build from 2-21-08 + /usr/sbin/ipa-client-install --domain=BAD.IPA.DOMAIN.REDHAT.COM --server=4.2.2.2 --unattended Discovery was successful! Realm: DSQA.SJC2.REDHAT.COM DNS Domain: dsqa.sjc2.redhat.com IPA Server: ipaqavm.dsqa.sjc2.redhat.com BaseDN: dc=dsqa,dc=sjc2,dc=redhat,dc=com
Created attachment 300112 [details] log with successful negitive test case
verified last on 3-24-08 + echo 'Test case 2548' Test case 2548 + /usr/sbin/ipa-client-install --domain=BAD.IPA.DOMAIN.REDHAT.COM --server=4.2.2.2 --unattended + ret=252 + '[' 252 == 0 ']' + echo 'Test case 2399' log from: http://apoc.dsdev.sjc.redhat.com/tet/results/2008-03-24_13_39/client-ipaf7-64vm-FC7-x86_64-GOOD-log.txt