Bug 696751

Summary: LDAP logins not working after LDAP settings change without restart.
Product: [Other] RHQ Project Reporter: Simeon Pinder <spinder>
Component: Core UIAssignee: Simeon Pinder <spinder>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: high Docs Contact:
Priority: medium    
Version: unspecifiedCC: hrupp, mfoley
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-24 01:12:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Simeon Pinder 2011-04-14 19:03:00 UTC
Description of problem: the ldap login integration no longer works.


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


How reproducible:
Every time.

Steps to Reproduce:
1.Enable ldap integration
2.Attempt to login with a valid user/pass.
3.
  
Actual results:
Displays "The username or password provided does not match our records".

Expected results:
Logins with ldap creds should work.

Additional info:
This is a regression. This used to work. Using the TestLdapSettings tool the authentication and authorization works correctly with the current credentials.

Comment 1 Simeon Pinder 2011-04-14 19:43:05 UTC
Bounce the server and the ldap logins start working again. This looks to be because we do not trigger a reload of the JAAS login modules after saving LDAP settings.  

So not as bad as I initially thought.

Comment 2 Simeon Pinder 2011-04-15 21:25:01 UTC
Fixed with commit in master: b4aba0e75695b9b06beaa2e1ec84af07296fad2e

Comment 3 Mike Foley 2011-04-25 19:35:12 UTC
verified RHQ 4.0 CR1, as follows.  I set up my own LDAP server according to the directions at this URL:  http://www.rhq-project.org/display/RHQ/Testing+the+RHQ+LDAP+Integration   I was able to edit the LDAP settings and they took without the need to bounce the RHQ server.  Successfully logged in authenticating as an LDAP user I configured in my LDAP server.

Comment 4 Corey Welton 2011-05-24 01:12:16 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 5 Corey Welton 2011-05-24 01:12:16 UTC
Bookkeeping - closing bug - fixed in recent release.