Hide Forgot
Description of problem: ipa MASTER and SLAVE installed version: ipa-server-2.0.0-21.el6.x86_64 On both master and slave: # ipa-nis-manage enable Directory Manager password: Enabling plugin Traceback (most recent call last): File "/usr/sbin/ipa-nis-manage", line 211, in <module> sys.exit(main()) File "/usr/sbin/ipa-nis-manage", line 151, in main ld = LDAPUpdate(dm_password=dirman_password, sub_dict={}, ldapi=True) File "/usr/lib/python2.6/site-packages/ipaserver/install/ldapupdate.py", line 128, in __init__ conn.do_external_bind(self.pw_name) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 360, in do_external_bind self.__lateinit() File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 260, in __lateinit [ 'nsslapd-directory' ]) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 378, in getEntry raise errors.NotFound(reason=notfound(args)) ipalib.errors.NotFound: * not found HTTP error_log: [Mon Apr 18 12:00:23 2011] [error] ipa: INFO: host/dhcp-100-18-42.testrelm@TESTRELM: entitle_sync(hidden=1, all=False, raw=False, version=u'2.1'): NotRegisteredError Version-Release number of selected component (if applicable): ipa-server-2.0.0-21.el6.x86_64 How reproducible: always Steps to Reproduce: 1. install master 2. install slave 3. ipa-nis-manage enable Actual results: Expected results: Additional info:
This is happening with just a master installed - no slave. # ipa-nis-manage enable Directory Manager password: Enabling plugin Traceback (most recent call last): File "/usr/sbin/ipa-nis-manage", line 211, in <module> sys.exit(main()) File "/usr/sbin/ipa-nis-manage", line 151, in main ld = LDAPUpdate(dm_password=dirman_password, sub_dict={}, ldapi=True) File "/usr/lib/python2.6/site-packages/ipaserver/install/ldapupdate.py", line 128, in __init__ conn.do_external_bind(self.pw_name) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 360, in do_external_bind self.__lateinit() File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 260, in __lateinit [ 'nsslapd-directory' ]) File "/usr/lib/python2.6/site-packages/ipaserver/ipaldap.py", line 378, in getEntry raise errors.NotFound(reason=notfound(args)) ipalib.errors.NotFound: * not found
newest packages have a change in behavior, but still can not enable plugin .. # ipa-nis-manage enable Traceback (most recent call last): File "/usr/sbin/ipa-nis-manage", line 214, in <module> sys.exit(main()) File "/usr/sbin/ipa-nis-manage", line 86, in main if os.getegid() != 0: NameError: global name 'os' is not defined ipa-admintools-2.0.0-22.el6.x86_64.rpm ipa-server-2.0.0-22.el6.x86_64.rpm ipa-client-2.0.0-22.el6.x86_64.rpm ipa-server-selinux-2.0.0-22.el6.x86_64.rpm ipa-python-2.0.0-22.el6.x86_64.rpm
The upstream patch was missing an 'import os'. Updated local patch.
Verified on both master and slave version: ipa-python-2.0.0-23.el6 ipa-client-2.0.0-23.el6 ipa-admintools-2.0.0-23.el6 ipa-server-selinux-2.0.0-23.el6 ipa-server-2.0.0-23.el6 # ipa-nis-manage enable Directory Manager password: Enabling plugin This setting will not take effect until you restart Directory Server. The rpcbind service may need to be started.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-0631.html