| Summary: | ipa-host-net-manage <ctrl>+C at Directory Manager Prompt produces traceback | ||
|---|---|---|---|
| Product: | [Retired] freeIPA | Reporter: | Jenny Severance <jgalipea> |
| Component: | ipa-server | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | benl, dpal, jgalipea |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | freeipa-2.1.0-1.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-27 07:22:16 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
master: 76f2d2eac2188fc7929bb07ab6bba7af745e8998 You can not interrupt the command now - you must hit enter and fail Directory Manager auth .. # ipa-host-net-manage status Directory Manager password: Authentication failed: Invalid credentials verified version: ipa-server-2.0.0-20.el6.x86_64 ipa-admintools-2.0.0-20.el6.x86_64 |
Description of problem: if you try to opt out of ipa-host-net-manager, directory manager password prompt, the command produces traceback. It does not appear to have any adverse affects. But I can definitely see this happening often in the following situation. Admin has kerberos credentials and assumes that is enough for the command, has to go find out what the directory manager's password is ... so interupts! Version-Release number of selected component (if applicable): freeipa-server-2.0-0.2011020113git613a3d0.fc14.i686 How reproducible: always Steps to Reproduce: 1. ipa-host-net-manage enable | disable | status 2. At prompt for Directory Manager password ... <ctrl>+c 3. Actual results: # ipa-host-net-manage status Directory Manager password: Traceback (most recent call last): File "/usr/sbin/ipa-host-net-manage", line 201, in <module> sys.exit(main()) File "/usr/sbin/ipa-host-net-manage", line 195, in main conn.disconnect() File "/usr/lib/python2.7/site-packages/ipalib/backend.py", line 74, in disconnect self.id, threading.currentThread().getName() StandardError: disconnect: 'context.ldap2_157230828' does not exist in thread 'MainThread' Expected results: no trace back and graceful interupt. Additional info: