Bug 1438841

Summary: External Auth - AD - Groups with accent marks in name not displayed properly
Product: Red Hat CloudForms Management Engine Reporter: Matt Pusateri <mpusater>
Component: ApplianceAssignee: Joe Vlcek <jvlcek>
Status: CLOSED WORKSFORME QA Contact: Mike Shriver <mshriver>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.6.0CC: abellott, jhardy, jvlcek, obarenbo
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: auth:externalauth:ad
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-23 19:35:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Screenshot of accent mark group not displayed correctly
none
Group names with accent marks displayed correctly none

Description Matt Pusateri 2017-04-04 14:04:14 UTC
Created attachment 1268676 [details]
Screenshot of accent mark group not displayed correctly

Description of problem:
External Auth - AD - Base64 encoded group not diplayed properly  

Shows group name pre-win2000 name of $d51000-b7oq3n5m0tga.bos.redhat.com instead of SR-APP-EPM-Membre-équipe - 

root@dhcp-8-198-166 ~]# id test-user5
uid=461801190(test-user5.bos.redhat.com) gid=461800513(domain users.bos.redhat.com) groups=461800513(domain users.bos.redhat.com),461801140(user-group-ad.bos.redhat.com),461801197($d51000-b7oq3n5m0tga.bos.redhat.com)

Version-Release number of selected component (if applicable):
5.7.2.0, 5.8.0.7  Believe it's 5.6 as well. 

How reproducible:


Steps to Reproduce:
1. Setup External auth with AD
2. Setup group that has accent mark such as "SR-APP-EPM-Membre-équipe"
3. Try to retrieve group in group look up or retrieve groups in command line. 

Actual results:
Get Pre-windows2000 name

Expected results:
Name is displayed properly.

Additional info:
Relates to logging in via base64 encoded groups. which is partially fixed. Original but only fixed against FreeIPA.  Also I'll open another bug on MIQ OpenLDAP/AD with a similar problem.

Comment 2 Matt Pusateri 2017-08-30 18:19:51 UTC
Still an issue with 5.8.2.0 as well.

Comment 3 Joe Vlcek 2018-08-23 19:32:23 UTC
Created attachment 1478320 [details]
Group names with accent marks displayed correctly

Comment 4 Joe Vlcek 2018-08-23 19:35:44 UTC
I just tested this with upstream master and group names with accent marks are displayed  fine.

See attachment.

Many changes have been made since this was reported, one of which seems to have resolved it.

I'm going to close this as WORKSFORME.