Bug 674736 - ipa service-find with --certificate option fails and should be removed.
Summary: ipa service-find with --certificate option fails and should be removed.
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-03 04:50 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-27 07:22:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Gowrishankar Rajaiyan 2011-02-03 04:50:45 UTC
Description of problem:


Version-Release number of selected component (if applicable):
freeipa-server-2.0-0.2011020122gitf3d04bf.fc14.x86_64
freeipa-admintools-2.0-0.2011020122gitf3d04bf.fc14.x86_64

How reproducible:
Always

Steps to Reproduce:
1. ipa service-find --certificate=MIICdzCCAeCgAwIBAgICA<snipped> 
2.
3.
  
Actual results:

ipa service-find with a valid Base-64 encoded server certificate fails. 

# ipa help service-find
Purpose: Search for IPA services.
Usage: ipa [global-options] service-find [CRITERIA] [options]

Options:
  -h, --help           show this help message and exit
  --principal=STR      Service principal
  --certificate=BYTES  Base-64 encoded server certificate
<snipped>


Expected results:
Finding a service with --certificate=BYTES option functionality should be removed since there is no useful case to search on raw certificate bytes and help messages should be updated accordingly.

Additional info:

Comment 1 Jakub Hrozek 2011-02-03 09:54:30 UTC
https://fedorahosted.org/freeipa/ticket/912

Comment 2 Rob Crittenden 2011-02-10 18:49:45 UTC
master: 51b0a8b4e8839eb0333d8e140c9227bf3487ddcc

Comment 3 Jenny Severance 2011-03-29 16:36:00 UTC
verified:

ipa-server-2.0.0-17.el6.x86_64
ipa-admintools-2.0.0-17.el6.x86_64


# ipa help service-find
Purpose: Search for IPA services.
Usage: ipa [global-options] service-find [CRITERIA] [options]

Options:
  -h, --help            show this help message and exit
  --principal=STR       Service principal
  --timelimit=INT       Time limit of search in seconds
  --sizelimit=INT       Maximum number of entries returned
  --all                 Retrieve and print all attributes from the server.
                        Affects command output.
  --raw                 Print entries as stored on the server. Only affects
                        output format.
  --man-by-hosts=LIST   Search for services with these managed by hosts.
  --not-man-by-hosts=LIST
                        Search for services without these managed by hosts.


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