Bug 676554 - Removing a host with its hostname in capital letters fails.
Summary: Removing a host with its hostname in capital letters fails.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-admintools
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-10 08:36 UTC by Gowrishankar Rajaiyan
Modified: 2015-01-04 23:46 UTC (History)
4 users (show)

Fixed In Version: freeipa-2.1.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-28 09:27:01 UTC


Attachments (Terms of Use)

Description Gowrishankar Rajaiyan 2011-02-10 08:36:42 UTC
Description of problem:
Adding hosts to "ipa service-add-host" with hostname in capital letters works as expected, however, removing the same hostname by specifying it in capital letters fails.

Version-Release number of selected component (if applicable):

freeipa-server-2.0-0.2011020720git7be1275.fc14.x86_64
freeipa-admintools-2.0-0.2011020720git7be1275.fc14.x86_64


How reproducible:
Always

Steps to Reproduce:
1.# ipa service-add-host --hosts=T.EXAMPLE.COM vpn/gsrf14ipas.testrelm@TESTRELM
  Principal: vpn/gsrf14ipas.testrelm@TESTRELM
  Managed by: gsrf14ipas.testrelm, t.example.com
-------------------------
Number of members added 1
-------------------------

2.# ipa service-remove-host --hosts=T.EXAMPLE.COM vpn/gsrf14ipas.testrelm@TESTRELM
  Principal: vpn/gsrf14ipas.testrelm@TESTRELM
  Managed by: gsrf14ipas.testrelm, t.example.com
---------------------------
Number of members removed 0
---------------------------
3.
  
Actual results:
Number of members removed 0
Workaround is to remove the host by specifying it in small letters.

Expected results:
# ipa service-remove-host --hosts=T.EXAMPLE.COM vpn/gsrf14ipas.testrelm@TESTRELM
  Principal: vpn/gsrf14ipas.testrelm@TESTRELM
  Managed by: gsrf14ipas.testrelm
---------------------------
Number of members removed 1
---------------------------

Hostnames specified in capital letters should be removed successfully.

Additional info:

Comment 1 Jakub Hrozek 2011-02-10 13:04:31 UTC
https://fedorahosted.org/freeipa/ticket/944

Comment 2 Rob Crittenden 2011-02-14 15:20:56 UTC
master: 0402f61009f3e69ef4cc1e6113bbddaece34e3a9


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