Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
After configuring AD server with the satellite using LDAP. The user is able to log in but after login user is presented with profile update page to update the mail address. When the user enters the mail address and tries to submit the form, data is not saved.
Below is the production logs.
==> /var/log/foreman/production.log <==
2018-09-05T18:24:01 [I|app|09e17] Processing by NotificationRecipientsController#index as JSON
2018-09-05T18:24:01 [I|app|09e17] Current user: suraj (administrator)
2018-09-05T18:24:01 [I|app|09e17] Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 4.4ms)
2018-09-05T18:24:04 [I|app|] Started PATCH "/users/7-suraj" for 10.65.228.32 at 2018-09-05 18:24:04 +0530
2018-09-05T18:24:04 [I|app|a906f] Processing by UsersController#update as HTML
2018-09-05T18:24:04 [I|app|a906f] Parameters: {"utf8"=>"✓", "authenticity_token"=>"Js/8XyUBD/wDCXwqp56R1U8vWvEyUeqJuCthpQ7FthQrM4ohYKxtzzakDntI/CzaXnjFCNsDg37hiKpB54ahqw==", "user"=>{"firstname"=>"Suraj", "lastname"=>"Patil", "mail"=>"supatil", "description"=>"", "locale"=>"en", "timezone"=>"", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "mail_enabled"=>"1", "user_mail_notifications_attributes"=>{"0"=>{"mail_notification_id"=>"6", "interval"=>"", "mail_query"=>""}, "1"=>{"mail_notification_id"=>"12", "interval"=>""}, "2"=>{"mail_notification_id"=>"9", "interval"=>""}, "3"=>{"mail_notification_id"=>"4", "interval"=>""}, "4"=>{"mail_notification_id"=>"11", "interval"=>""}, "5"=>{"mail_notification_id"=>"7", "interval"=>""}, "6"=>{"mail_notification_id"=>"1", "interval"=>""}, "7"=>{"mail_notification_id"=>"10", "interval"=>""}, "8"=>{"mail_notification_id"=>"3", "interval"=>""}, "9"=>{"mail_notification_id"=>"2", "interval"=>""}}, "admin"=>"0", "role_ids"=>["1"], "location_ids"=>["", "2"], "default_location_id"=>"", "organization_ids"=>["", "1"], "default_organization_id"=>""}, "commit"=>"Submit", "id"=>"7-suraj"}
2018-09-05T18:24:04 [I|app|a906f] Current user: suraj (administrator)
2018-09-05T18:24:04 [E|app|a906f] Failed to save: Current password Incorrect password
2018-09-05T18:24:04 [I|app|a906f] Rendering users/edit.html.erb within layouts/application
2018-09-05T18:24:04 [I|app|a906f] Rendered ssh_keys/_ssh_keys_tab.html.erb (7.0ms)
Version-Release number of selected component (if applicable):
satellite 6.4 SNAP 20
How reproducible:
Configure AD using LDAP and login with AD user.
Actual results:
The form does not get submitted.
Expected results:
Data should be saved. the request PATCH "/users/7-suraj" should return 200
Additional info:
After AD user is logged in, edit form "/users/7-suraj/edit" is rendered with first name = Admin, lastname = User, Mail = root. It should take firstname , lastname etc from AD server.
Attaching the screenshot.
Hello,
Sorry, it is not the bug.
There was lastpass plugin in my browser which was replacing the form data and due to which it is failing to submit the form.
I have tried with other browser and it is working. closing this bug.
Thank you.
Description of problem: After configuring AD server with the satellite using LDAP. The user is able to log in but after login user is presented with profile update page to update the mail address. When the user enters the mail address and tries to submit the form, data is not saved. Below is the production logs. ==> /var/log/foreman/production.log <== 2018-09-05T18:24:01 [I|app|09e17] Processing by NotificationRecipientsController#index as JSON 2018-09-05T18:24:01 [I|app|09e17] Current user: suraj (administrator) 2018-09-05T18:24:01 [I|app|09e17] Completed 200 OK in 33ms (Views: 0.4ms | ActiveRecord: 4.4ms) 2018-09-05T18:24:04 [I|app|] Started PATCH "/users/7-suraj" for 10.65.228.32 at 2018-09-05 18:24:04 +0530 2018-09-05T18:24:04 [I|app|a906f] Processing by UsersController#update as HTML 2018-09-05T18:24:04 [I|app|a906f] Parameters: {"utf8"=>"✓", "authenticity_token"=>"Js/8XyUBD/wDCXwqp56R1U8vWvEyUeqJuCthpQ7FthQrM4ohYKxtzzakDntI/CzaXnjFCNsDg37hiKpB54ahqw==", "user"=>{"firstname"=>"Suraj", "lastname"=>"Patil", "mail"=>"supatil", "description"=>"", "locale"=>"en", "timezone"=>"", "current_password"=>"[FILTERED]", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]", "mail_enabled"=>"1", "user_mail_notifications_attributes"=>{"0"=>{"mail_notification_id"=>"6", "interval"=>"", "mail_query"=>""}, "1"=>{"mail_notification_id"=>"12", "interval"=>""}, "2"=>{"mail_notification_id"=>"9", "interval"=>""}, "3"=>{"mail_notification_id"=>"4", "interval"=>""}, "4"=>{"mail_notification_id"=>"11", "interval"=>""}, "5"=>{"mail_notification_id"=>"7", "interval"=>""}, "6"=>{"mail_notification_id"=>"1", "interval"=>""}, "7"=>{"mail_notification_id"=>"10", "interval"=>""}, "8"=>{"mail_notification_id"=>"3", "interval"=>""}, "9"=>{"mail_notification_id"=>"2", "interval"=>""}}, "admin"=>"0", "role_ids"=>["1"], "location_ids"=>["", "2"], "default_location_id"=>"", "organization_ids"=>["", "1"], "default_organization_id"=>""}, "commit"=>"Submit", "id"=>"7-suraj"} 2018-09-05T18:24:04 [I|app|a906f] Current user: suraj (administrator) 2018-09-05T18:24:04 [E|app|a906f] Failed to save: Current password Incorrect password 2018-09-05T18:24:04 [I|app|a906f] Rendering users/edit.html.erb within layouts/application 2018-09-05T18:24:04 [I|app|a906f] Rendered ssh_keys/_ssh_keys_tab.html.erb (7.0ms) Version-Release number of selected component (if applicable): satellite 6.4 SNAP 20 How reproducible: Configure AD using LDAP and login with AD user. Actual results: The form does not get submitted. Expected results: Data should be saved. the request PATCH "/users/7-suraj" should return 200 Additional info: After AD user is logged in, edit form "/users/7-suraj/edit" is rendered with first name = Admin, lastname = User, Mail = root. It should take firstname , lastname etc from AD server. Attaching the screenshot.