Skip to content

digest_sspi: Show InitializeSecurityContext errors in verbose mode#6315

Closed
jay wants to merge 1 commit intocurl:masterfrom
jay:improve_sspi_auth_errmsg
Closed

digest_sspi: Show InitializeSecurityContext errors in verbose mode#6315
jay wants to merge 1 commit intocurl:masterfrom
jay:improve_sspi_auth_errmsg

Conversation

@jay
Copy link
Member

@jay jay commented Dec 13, 2020

The error is shown with infof rather than failf so that the user will
see the extended error message information only in verbose mode, and
will still see the standard CURLE_AUTH_ERROR message. For example:


  • schannel: InitializeSecurityContext failed: SEC_E_QOP_NOT_SUPPORTED
    (0x8009030A) - The per-message Quality of Protection is not supported by
    the security package
  • multi_done
  • Connection docs/libcurl/libcurl.m4 bug #1 to host 127.0.0.1 left intact
    curl: (94) An authentication function returned an error

Ref: #6302

Closes #xxxx

The error is shown with infof rather than failf so that the user will
see the extended error message information only in verbose mode, and
will still see the standard CURLE_AUTH_ERROR message. For example:

---

* schannel: InitializeSecurityContext failed: SEC_E_QOP_NOT_SUPPORTED
(0x8009030A) - The per-message Quality of Protection is not supported by
the security package
* multi_done
* Connection curl#1 to host 127.0.0.1 left intact
curl: (94) An authentication function returned an error

---

Ref: curl#6302

Closes #xxxx
@jay jay closed this in c545659 Dec 14, 2020
@jay jay deleted the improve_sspi_auth_errmsg branch December 14, 2020 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants