Bug 1424620 - ldap users using email id with apostrophe character in email addr fail to login
Summary: ldap users using email id with apostrophe character in email addr fail to login
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.5
Assignee: Tim Wade
QA Contact: Matt Pusateri
URL:
Whiteboard: ldap:auth
Depends On:
Blocks: 1379420
TreeView+ depends on / blocked
 
Reported: 2017-02-17 20:28 UTC by Dave Johnson
Modified: 2017-06-20 16:08 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-15 16:41:50 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dave Johnson 2017-02-17 20:28:50 UTC
Description of problem:
====================================
This is a spin off from bug 1396490 where we added a fix related to ldap users with apostrophe couldn't login

Text from comment3&4 of that BZ...
------------------------------------
While the original patch does indeed make authentication work. There is still a condition that creates two users in the database/webui.

Setup external auth, enable it as the mode. Log in as the UID of the LDAP user, user will show up under Users in UI.  Logout and login with email address of the user. another duplicate user will be created, when in fact they are the same user.

Actually, logging in with the email address fails to match the user's group, so it doesn't duplicate the user like in 5.7.1.1. But, still only partially fixed.
-------------------------------------

Version-Release number of selected component (if applicable):
=====================================
5.6.4


How reproducible:  100%


Steps to Reproduce:
1.  see bz 1396490
2.
3.

Actual results:


Expected results:


Additional info:

Comment 4 Tim Wade 2017-03-01 23:21:08 UTC
OK to close this BZ if you can't duplicate it?

Comment 5 Matt Pusateri 2017-03-13 13:45:34 UTC
Still a problem see: https://bugzilla.redhat.com/show_bug.cgi?id=1424618

Comment 6 Tim Wade 2017-03-15 16:41:50 UTC
Matt,

The bug you pointed to is for a different release, and AFAICT is related but not the same bug as the one filed against the 5.6 release. Since I can't reproduce the error filed for this release, I'll close this, but feel free to reopen if you have a reproduction case.


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