[CentOS] IPA Client Install

Wed Jun 12 23:31:20 UTC 2013
Marcelo Carvalho <marcelo at alexa.com>


Hi Folks.

I have installed an ipa server on a linux CentOS release 6.4 (Final).  It is using outside DNS.  I have https console access authenticating admin user through kerberos, and have migrated information on 80+ users and groups to it from a LDAP server.

Packages related to ipa installed are:

[root ~]# rpm -qa | grep ipa
ipa-server-selinux-3.0.0-26.el6_4.2.x86_64
ipa-pki-ca-theme-9.0.3-7.el6.noarch
libipa_hbac-1.9.2-82.el6.x86_64
ipa-python-3.0.0-26.el6_4.2.x86_64
ipa-admintools-3.0.0-26.el6_4.2.x86_64
ipa-client-3.0.0-26.el6_4.2.x86_64
python-iniparse-0.3.1-2.1.el6.noarch
ipa-pki-common-theme-9.0.3-7.el6.noarch
libipa_hbac-python-1.9.2-82.el6.x86_64
ipa-server-3.0.0-26.el6_4.2.x86_64
[root ~]#

I am now on the process of in CentOS 6.4 as IPA client, but I am getting error "KeyError: 'namingcontexts'" I cannot find solution to.

Packages installed are:

 $ rpm -qa | grep ipa
ipa-client-3.0.0-26.el6_4.2.x86_64
ipa-python-3.0.0-26.el6_4.2.x86_64
python-iniparse-0.3.1-2.1.el6.noarch
libipa_hbac-python-1.9.2-82.el6.x86_64
libipa_hbac-1.9.2-82.el6.x86_64


Error on installation is the following

 $ ipa-client-install
Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 2323, in <module>
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 2309, in main
    rval = install(options, env, fstore, statestore)
  File "/usr/sbin/ipa-client-install", line 1684, in install
    ret = ds.search(domain=options.domain, servers=options.server, hostname=hostname, ca_cert_path=get_cert_path(options.ca_cert_file))
  File "/usr/lib/python2.6/site-packages/ipaclient/ipadiscovery.py", line 243, in search
    ldapret = self.ipacheckldap(server, self.realm, ca_cert_path=ca_cert_path)
  File "/usr/lib/python2.6/site-packages/ipaclient/ipadiscovery.py", line 343, in ipacheckldap
    basedn = get_ipa_basedn(lh)
  File "/usr/lib/python2.6/site-packages/ipapython/ipautil.py", line 817, in get_ipa_basedn
    contexts = entries[0][1]['namingcontexts']
KeyError: 'namingcontexts'


Is it possible to be a CentOS 6.4 problem or it is me that have to go back to the drawing board (missing any package, etc..) and see if I made any mistake?

Please advise.

Many thanks,

Marcelo