Kickstart - IPA Client

Latest response

I'm trying to create a Kickstart profile that configures a server to join an IPA domain. I've got an IdM server running and I've set up a post script to run the ipa-client-install command to connect to Idm.

When I Kickstart a server, the ipa-client-install fails, but if I run the exact same command manually, it works just fine. The errors I'm getting in /var/log/ipa-client-install.log are:

Init LDAP connection with: ldap://ipa.example.com:389
Unable to verify that ipa.example.com (realm None) is an IPA server
Discovery result: NO_LDAP_SERVER; server=None, domain=example.com, kdc=None, basedn=None
Validated servers:
Failed to verify that ipa.example.com is an IPA Server.
This may mean that the remote server is not up or is not reachable due to network or firewall settings.

The command (both in the Kickstart script and run manually) is:

ipa-client-install --domain=theforce.com --realm=THEFORCE.COM -w secret --server=ipa.example.com --unattended

And I've already run the ipa host-add to add the host to the IPA server with the password used in the above.

Anyone seen this before? Or have any idea why it might not be working within Kickstart?

Thanks in advance!

Responses