Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redfish: Handle 'Password Change Required' semantics #8652

Closed
1 task done
mraineri opened this issue Jul 17, 2024 · 2 comments · Fixed by #8653
Closed
1 task done

Redfish: Handle 'Password Change Required' semantics #8652

mraineri opened this issue Jul 17, 2024 · 2 comments · Fixed by #8653
Labels
feature This issue/PR relates to a feature request module_utils module_utils plugins plugin (any type)

Comments

@mraineri
Copy link
Contributor

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

  • I agree to follow the Ansible Code of Conduct
@ansibullbot
Copy link
Collaborator

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module_utils module_utils plugins plugin (any type)
Projects
None yet
2 participants