Redfish: Handle 'Password Change Required' semantics #8652
Labels
feature
This issue/PR relates to a feature request
module_utils
module_utils
plugins
plugin (any type)
Summary
During initial provisioning, some systems require a user to change their password before they're allowed to do anything with the service. Even if using the "UpdateUserPassword", the current flow fails because it attempts to discover the user account; the GET operations will all return with 403 responses.
Would like to add logic to the flow for the UpdateUserPassword command to handle 403 responses with the "PasswordChangeRequired" message. If the user invoking the command is the same as the one being modified, then follow the pointer from the error message to update the user account directly.
Issue Type
Feature Idea
Component Name
redfish_utils
Additional Information
Code of Conduct
The text was updated successfully, but these errors were encountered: