Bug 1276407 - Unable to search for users by user ID when configured using ovirt-engine-extension-aaa-ldap
Summary: Unable to search for users by user ID when configured using ovirt-engine-exte...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-extension-aaa-ldap
Version: 3.5.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Alon Bar-Lev
QA Contact: Ondra Machacek
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-29 15:51 UTC by Greg Scott
Modified: 2016-02-10 19:05 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-05 11:07:24 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Greg Scott 2015-10-29 15:51:03 UTC
Description of problem:
When ovirt-engine runs using ovirt-engine-aaa-ldap instead of rhevm-manage-domains, searching in the GUI for a user ID does not return any results. Searching by name works, but not user ID.

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

How reproducible:
At will.

Steps to Reproduce:
1.  Set up ovirt-engine-extension-aaa-ldap to use an Active Directory domain
2.  Launch the RHEVM GUI
3.  Create a few users from the Active Directory domain above.
4.  Try to search for anyone by User ID.  Search comes up empty.
5.  Search by name works as expected.

Actual results:
See above - searching by ID comes up empty.  Searching by name works as expected.

Expected results:
Searching by ID should return results.

Additional info:

Comment 1 Alon Bar-Lev 2015-10-29 17:53:42 UTC
I think I already wrote you, put this in profile and try.
---
attrmap.map-principal-record.attr.PrincipalRecord_NAME.map = sAMAccountName
---

search now should work based on the sAMAccountName.

Comment 2 Greg Scott 2015-11-05 10:56:03 UTC
Thanks for the reminder.  I just tried it on my test system and it worked.

- Greg


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