Bug 2127416
| Summary: | wsmancli: Improve handling of HTTP 401 Unauthorized | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Vitezslav Crhonek <vcrhonek> |
| Component: | wsmancli | Assignee: | Vitezslav Crhonek <vcrhonek> |
| Status: | CLOSED ERRATA | QA Contact: | Evgeny Fedin <efedin> |
| Severity: | unspecified | Docs Contact: | Šárka Jana <sjanderk> |
| Priority: | unspecified | ||
| Version: | 9.1 | CC: | efedin, sjanderk |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | 9.2 | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | wsmancli-2.6.0-16.el9 | Doc Type: | Bug Fix |
| Doc Text: |
.`wsmancli` handles HTTP 401 Unauthorized statuses correctly
The `wsmancli` utility for managing systems using Web Services Management protocol now handles authentication to better conform to RFC 2616.
Previously, when connecting to a service that requires authentication, the `wsmancli` command returned the error message `Authentication failed, please retry` immediately after receiving an HTTP 401 Unauthorized response, for example, because of incomplete credentials.
To proceed, `wsmancli` prompted you to provide both the username and the password, even in situations where you had already provided a part of your credentials.
With this update, `wsmancli` requires only credentials that were not previously provided. As a result, the first authentication attempt does not display any error message. An error message is displayed only after you provide the complete credentials and authentication fails.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:45:43 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 9
errata-xmlrpc
2023-05-09 07:45:43 UTC
|