Bug 696751 - LDAP logins not working after LDAP settings change without restart.
Summary: LDAP logins not working after LDAP settings change without restart.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Core UI
Version: unspecified
Hardware: Unspecified
OS: Unspecified
medium
high vote
Target Milestone: ---
: ---
Assignee: Simeon Pinder
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-14 19:03 UTC by Simeon Pinder
Modified: 2011-10-04 19:27 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-24 01:12:16 UTC


Attachments (Terms of Use)

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.


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