Bug 785259

Summary: ipa permisison-find --raw brings back no permission
Product: Red Hat Enterprise Linux 6 Reporter: Namita Soman <nsoman>
Component: ipaAssignee: Rob Crittenden <rcritten>
Status: CLOSED DUPLICATE QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: mkosek
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-03 16:15:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Namita Soman 2012-01-27 19:47:21 UTC
Description of problem:
Can use --all to find permissions matching a criteria, but when --raw is also used, no permissions are retrieved.

# ipa permission-find --attr=description --all
listed 16 permissions with info about each permission

But with --raw:
# ipa permission-find --attr=description --all --raw
---------------------
0 permissions matched
---------------------
----------------------------
Number of entries returned 0
----------------------------




Version-Release number of selected component (if applicable):
ipa-server-2.2.0-101.20120123T0157zgit64cf8a4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. List permissions match a critera
ipa permission-find --attr=description --all
2. List again using --raw to see entries as  stored on server
ipa permission-find --attr=description --all --raw

  
Actual results:
No permissions are listed

Expected results:
all permissions as listed in step 1, in raw output

Additional info:

Comment 2 Martin Kosek 2012-01-30 08:05:18 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2323