IPA-Client-Install Fails with the "KeyError: 'namingcontexts'" Error

Solution In Progress - Updated -

Issue

Running ipa-client-install, fails with error "K_eyError: 'namingcontexts'_"

[root@localhost ~]# ipa-client-install
Traceback (most recent call last):
  File "/usr/sbin/ipa-client-install", line 1776, in ?
    sys.exit(main())
  File "/usr/sbin/ipa-client-install", line 1763, in main
    rval = install(options, env, fstore, statestore)
  File "/usr/sbin/ipa-client-install", line 1305, 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.4/site-packages/ipaclient/ipadiscovery.py", line 224, in search
    ldapret = self.ipacheckldap(server, self.realm, ca_cert_path=ca_cert_path)
  File "/usr/lib/python2.4/site-packages/ipaclient/ipadiscovery.py", line 322, in ipacheckldap
    basedn = get_ipa_basedn(lh)
  File "/usr/lib/python2.4/site-packages/ipaclient/ipapython/ipautil.py", line 1084, in get_ipa_basedn
    contexts = entries[0][1]['namingcontexts']
KeyError: 'namingcontexts'

Environment

  • IPA
  • Kerberos

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content