Bug 749593 - ipa-server-install --uninstall on replica doesn't clear keytab for this host on the master
Summary: ipa-server-install --uninstall on replica doesn't clear keytab for this host ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Martin Kosek
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 756082
TreeView+ depends on / blocked
 
Reported: 2011-10-27 16:00 UTC by Namita Soman
Modified: 2015-01-16 11:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-16 11:41:35 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Namita Soman 2011-10-27 16:00:46 UTC
Description of problem:
After a replica is uninstalled, the host record is still available on the master. A ipa host-show on this server indicates keytab is still true. Should have been cleared.
  Host name: ipa-replica.testrelm
  Principal name: host/ipa-replica.testrelm@TESTRELM
  Keytab: True
  Password: False
  Managed by: ipa-replica.testrelm

Also when reinstalling replica, have to first run host-del on master to delete this host. So - can it be deleted as part of the uninstall, so that there is no prep for reinstall?

Version-Release number of selected component (if applicable):
ipa-server-2.1.3-4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install master, replica
2. Uninstall replica
3. run ipa host-show <replica host>
  
Actual results:
Host is available, and its keytab is true

Expected results:
Host should not be available, and if available, its keytab should be false.

Additional info:

Comment 2 Rob Crittenden 2011-10-27 16:59:03 UTC
Uninstallation is unauthenticated. You would have to kinit to a user with host privs to be able to do the uninstallation. I've always felt that this was a bit too much.

The keytab in the host entry is not usable, the physical keytab is removed on the replica during the uninstall process.

Comment 3 RHEL Program Management 2011-10-31 05:47:28 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Dmitri Pal 2011-11-01 17:50:54 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2049

Comment 8 Martin Kosek 2015-01-16 11:41:35 UTC
`ipa-replica-manage del` step was missing, see

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/removing-replica.html

Given the FreeIPA behaves as designed, closing this ticket.


Note You need to log in before you can comment on or make changes to this bug.