Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
When I run ipa-nis-manage to enable the NIS plugin for IPA, I only see this output:
config.get_dn()
And from what I can tell, it has not enabled NIS services.
If I run with debug, I do see a traceback showing:
ipa : DEBUG File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 720, in run_script
return_value = main_function()
File "/usr/sbin/ipa-nis-manage", line 135, in main
compat = get_entry(compat_dn, conn)
File "/usr/sbin/ipa-nis-manage", line 81, in get_entry
entry = conn.get_entry(dn)
File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1470, in get_entry
size_limit=size_limit
File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1294, in get_entries
base_dn=base_dn, scope=scope, filter=filter, attrs_list=attrs_list)
File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1339, in find_entries
time_limit = self.time_limit
File "/usr/lib/python2.7/site-packages/ipaserver/plugins/ldap2.py", line 84, in time_limit
return float(self.get_ipa_config().single_value.get(
File "/usr/lib/python2.7/site-packages/ipaserver/plugins/ldap2.py", line 225, in get_ipa_config
dn = self.api.Object.config.get_dn()
File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 1253, in get_dn
raise NotImplementedError('%s.get_dn()' % self.name)
ipa : DEBUG The ipa-nis-manage command failed, exception: NotImplementedError: config.get_dn()
Version-Release number of selected component (if applicable):
ipa-server-4.4.0-0.el7.2.alpha1.x86_64
How reproducible:
Unknown
Steps to Reproduce:
1. ipa-server-install
2. ipa-nis-manage enable
3. ypcat -d $domain -h $(hostname)
Actual results:
output as mentioned above and does not seem to enable NIS.
Expected results:
enables NIS as expected.
Additional info:
Verified.
Version ::
ipa-server-4.4.0-2.1.el7.x86_64
Results ::
[root@rhel7-1 ~]# 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.
[root@rhel7-1 ~]# service rpcbind restart
Redirecting to /bin/systemctl restart rpcbind.service
[root@rhel7-1 ~]# systemctl restart dirsrv
[root@rhel7-1 ~]# ypcat -d example.com -h $(hostname) passwd
admin:*:137000000:137000000:Administrator:/home/admin:/bin/bash
[root@rhel7-1 ~]#
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2404.html
Description of problem: When I run ipa-nis-manage to enable the NIS plugin for IPA, I only see this output: config.get_dn() And from what I can tell, it has not enabled NIS services. If I run with debug, I do see a traceback showing: ipa : DEBUG File "/usr/lib/python2.7/site-packages/ipaserver/install/installutils.py", line 720, in run_script return_value = main_function() File "/usr/sbin/ipa-nis-manage", line 135, in main compat = get_entry(compat_dn, conn) File "/usr/sbin/ipa-nis-manage", line 81, in get_entry entry = conn.get_entry(dn) File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1470, in get_entry size_limit=size_limit File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1294, in get_entries base_dn=base_dn, scope=scope, filter=filter, attrs_list=attrs_list) File "/usr/lib/python2.7/site-packages/ipapython/ipaldap.py", line 1339, in find_entries time_limit = self.time_limit File "/usr/lib/python2.7/site-packages/ipaserver/plugins/ldap2.py", line 84, in time_limit return float(self.get_ipa_config().single_value.get( File "/usr/lib/python2.7/site-packages/ipaserver/plugins/ldap2.py", line 225, in get_ipa_config dn = self.api.Object.config.get_dn() File "/usr/lib/python2.7/site-packages/ipalib/frontend.py", line 1253, in get_dn raise NotImplementedError('%s.get_dn()' % self.name) ipa : DEBUG The ipa-nis-manage command failed, exception: NotImplementedError: config.get_dn() Version-Release number of selected component (if applicable): ipa-server-4.4.0-0.el7.2.alpha1.x86_64 How reproducible: Unknown Steps to Reproduce: 1. ipa-server-install 2. ipa-nis-manage enable 3. ypcat -d $domain -h $(hostname) Actual results: output as mentioned above and does not seem to enable NIS. Expected results: enables NIS as expected. Additional info: