If the email address is not updated correctly in the LDAP server then while logging in to satellite webui with same username should throw valid error message.
Issue
- If the email address is not updated correctly in the LDAP server then while logging in to satellite webui with same username should throw valid error message. Currently in the webui, we see
"Invalid username or password" error message.
Here is the error message we see in production.log:
2016-03-04 19:51:31 [I] Processing by UsersController#login as HTML
2016-03-04 19:51:31 [I] Parameters: {"utf8"=>"â", "authenticity_token"=>"***********************", "login"=>{"login"=>"ldap-user-name", "password"=>"[FILTERED]"}, "commit"=>"Accedi"}
2016-03-04 19:51:31 [I] Failed to save User 'ldap-user-name' ["Email address is invalid"]
2016-03-04 19:51:31 [I] invalid user
2016-03-04 19:51:31 [I] Redirected to https://satellite.example.com/users/login
2016-03-04 19:51:31 [I] Completed 302 Found in 278ms (ActiveRecord: 3.4ms)
2016-03-04 19:51:31 [I] Processing by UsersController#login as HTML
2016-03-04 19:51:31 [I] Rendered users/login.html.erb within layouts/login (2.3ms)
2016-03-04 19:51:31 [I] Rendered layouts/base.html.erb (1.2ms)
2016-03-04 19:51:31 [I] Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
Environment
- Red Hat Satellite v 6.1.x
- LDAP/AD authentication.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
