Bug 1397105 - when ext_auth configured with ldaps through sssd, groups retrieved as "groupname"
Summary: when ext_auth configured with ldaps through sssd, groups retrieved as "groupn...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: GA
: 5.7.0
Assignee: Joe Vlcek
QA Contact: amogh
URL:
Whiteboard: external_auth
Depends On: 1394425
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-21 15:58 UTC by Satoe Imaishi
Modified: 2017-03-23 15:32 UTC (History)
8 users (show)

Fixed In Version: 5.7.0.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1394425
Environment:
Last Closed: 2017-01-11 20:12:21 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ldaps_groupname_NO_FQDN (177.96 KB, image/png)
2016-11-29 17:38 UTC, amogh
no flags Details

Comment 2 Joe Vlcek 2016-11-21 16:45:55 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/0323f78f862bda2745bd1d443c99b173a7b90568

commit 0323f78f862bda2745bd1d443c99b173a7b90568
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Nov 21 10:00:27 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Nov 21 10:21:16 2016 -0500

    Merge pull request #12752 from jvlcek/bz1394425_domain
    
    Remove the FQDN from group names for ext auth.
    (cherry picked from commit 2f648343d0062cc8c2b35c2c56a0451d2670fb82)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1394425

 app/models/authenticator/httpd.rb       | 2 +-
 app/models/miq_group.rb                 | 6 +++++-
 spec/models/authenticator/httpd_spec.rb | 2 +-
 spec/models/miq_group_spec.rb           | 9 +++++++++
 4 files changed, 16 insertions(+), 3 deletions(-)

Comment 3 Joe Vlcek 2016-11-21 16:45:55 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/0323f78f862bda2745bd1d443c99b173a7b90568

commit 0323f78f862bda2745bd1d443c99b173a7b90568
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Mon Nov 21 10:00:27 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Nov 21 10:21:16 2016 -0500

    Merge pull request #12752 from jvlcek/bz1394425_domain
    
    Remove the FQDN from group names for ext auth.
    (cherry picked from commit 2f648343d0062cc8c2b35c2c56a0451d2670fb82)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1394425

 app/models/authenticator/httpd.rb       | 2 +-
 app/models/miq_group.rb                 | 6 +++++-
 spec/models/authenticator/httpd_spec.rb | 2 +-
 spec/models/miq_group_spec.rb           | 9 +++++++++
 4 files changed, 16 insertions(+), 3 deletions(-)

Comment 4 amogh 2016-11-29 17:36:22 UTC
verified this BZ in 5.7.0.12-rc2.20161123111642_a4a65ce.

FQDN is removed from group name and groups are retrieved as expected in CFME.
screenshot attached.

Comment 6 amogh 2016-11-29 17:38:47 UTC
Created attachment 1225930 [details]
ldaps_groupname_NO_FQDN


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