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.

Bug 1353452

Summary: ipa-compat-manage command failed, exception: NotImplementedError: config.get_dn()
Product: Red Hat Enterprise Linux 7 Reporter: Sudhir Menon <sumenon>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: pvoborni, rcritten
Target Milestone: rcKeywords: Regression, TestBlocker
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.4.0-2.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 05:56:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Debug log
none
compatmanage debug log none

Description Sudhir Menon 2016-07-07 06:49:33 UTC
Created attachment 1177190 [details]
Debug log

Description of problem: when ipa-compat-manage enable command is run it gives message 'Directory Manager password: config.get_dn()' on the console.


Version-Release number of selected component (if applicable):
ipa-server-4.4.0-1.el7.x86_64

How reproducible: Always

Steps to Reproduce:
1. Install IPA server. 
2. now run the command echo Secret123|ipa-nis-manage enable
3. Check the result on the console

Actual results:
[root@server ~]# echo Secret123|ipa-nis-manage enable
Directory Manager password: 
config.get_dn()


Expected results:
It should display correct output.

Additional info: Attached debug log.

Comment 1 Sudhir Menon 2016-07-07 06:50:38 UTC
Same debug output is seen for enable/disable/status options.

Comment 4 Sudhir Menon 2016-07-07 07:40:34 UTC
Created attachment 1177207 [details]
compatmanage debug log

Comment 5 Sudhir Menon 2016-07-07 07:41:57 UTC
[root@server ~]# echo labs_pwd|ipa-compat-manage enable
Directory Manager password: 
config.get_dn()

[root@server ~]# echo labs_pwd|ipa-compat-manage disable
Directory Manager password: 
config.get_dn()

[root@server ~]# echo labs_pwd|ipa-compat-manage status
Directory Manager password: 
config.get_dn()

Comment 6 Petr Vobornik 2016-07-07 11:38:21 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6033

Comment 8 Petr Vobornik 2016-07-12 09:01:12 UTC
Fixed upstream
master:
https://fedorahosted.org/freeipa/changeset/a5efeb449bba47dd430a7b8ffa594ace189252f4

Comment 10 Sudhir Menon 2016-07-15 13:00:22 UTC
Fix is seen. Verified using ipa-server-4.4.0-2.1.el7.x86_64

[root@server ~]# echo Secret123|ipa-compat-manage enable
Directory Manager password: 
Plugin already Enabled

[root@server ~]# ipa-compat-manage status
Directory Manager password: 
Plugin Enabled

Comment 12 errata-xmlrpc 2016-11-04 05:56:23 UTC
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