Bug 1367600
Summary: | LDAP group lookup fails with json UTF conversion errors | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Jeff Warnica <jwarnica> | ||||
Component: | Appliance | Assignee: | Gregg Tanzillo <gtanzill> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | amogh <amavinag> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 5.6.0 | CC: | abellott, cpelland, ebeaudoi, gblomqui, jhardy, jocarter, obarenbo, simaishi | ||||
Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
Target Release: | 5.7.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | ldap:auth | ||||||
Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 1370196 (view as bug list) | Environment: | |||||
Last Closed: | 2017-01-11 19:56:18 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 1370196 | ||||||
Attachments: |
|
Description
Jeff Warnica
2016-08-16 22:33:23 UTC
probable dup: https://bugzilla.redhat.com/show_bug.cgi?id=1321082 Possibly a problem with net/ldap... and fixed at https://github.com/ruby-ldap/ruby-net-ldap/pull/242 New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/895c246fbfb833a13f5718b28334ff2552d83443 commit 895c246fbfb833a13f5718b28334ff2552d83443 Author: Gregg Tanzillo <gtanzill> AuthorDate: Fri Aug 19 15:10:05 2016 -0400 Commit: Gregg Tanzillo <gtanzill> CommitDate: Fri Aug 19 17:49:50 2016 -0400 Updating to newer version of net-ldap gem Version 0.14.0 of the gem (actually, starting with 0.13.0) contains a code change that fixes an encoding error (Encoding::UndefinedConversionError) that happens when there are extended characters in a dn. The fix forces utf-8 encoding instead of ASCII-8BIT for objects returned from the directory. See https://github.com/ruby-ldap/ruby-net-ldap/pull/242 https://bugzilla.redhat.com/show_bug.cgi?id=1367600 Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Already cloned for 5.6.z: https://bugzilla.redhat.com/show_bug.cgi?id=1370196 verified in 5.7.0.3.20160927165516_075d0f3. group with the name "SR-APP-EPM-Membre-équipe" is retrieved correctly in the UI. production log does not show "Encoding::UndefinedConversionError" Errors. marking this issue as verified. Refer the screenshot, ldap_group_retrieve. [root@cfmeappliancerzfpgcv log]# grep -i "UndefinedConversionError" production.log [root@cfmeappliancerzfpgcv log]# [root@cfmeappliancerzfpgcv log]# grep -ir "UndefinedConversionError" . [root@cfmeappliancerzfpgcv log]# Created attachment 1208182 [details]
ldap_group_retrieve
|