Bug 1246143

Summary: User plugin - user-find doesn't work properly with manager option
Product: Red Hat Enterprise Linux 7 Reporter: Jan Cholasta <jcholast>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 7.2CC: akasurde, mkosek, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.2.0-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 12:04:40 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:
Attachments:
Description Flags
user_find_verified none

Description Jan Cholasta 2015-07-23 14:25:10 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/5146

Steps to reproduce:
1. create a manager: 
    # ipa user-add muser --first manager --last user
2. create a user and make muser its manager:
    # ipa user-add tuser --first test --last user --manager muser
3. try to search for users that have muser as manager:
    # ipa user-find --manager muser

[[BR]]

Expected result:
1 user is found (tuser).

[[BR]]

Actual result:
0 users matched. Number of entries returned 0.

Comment 3 Abhijeet Kasurde 2015-09-09 11:12:44 UTC
Created attachment 1071688 [details]
user_find_verified

Comment 4 Abhijeet Kasurde 2015-09-09 11:13:41 UTC
Verified fix using IPA version : ipa-server-4.2.0-8.el7.x86_64
Marking bug as verified.

Comment 5 errata-xmlrpc 2015-11-19 12:04:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2362.html