From 7c469fa537397c3b8307c92aa723e3af6d941e95 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 17 Apr 2019 23:47:51 +0100 Subject: sasl: Implement SASL authorisation identity via CURLOPT_SASL_AUTHZID Added the ability for the calling program to specify the authorisation identity (authzid), the identity to act as, in addition to the authentication identity (authcid) and password when using SASL PLAIN authentication. Fixes #3653 Closes #3790 NOTE: This commit was cherry-picked and is part of a series of commits that added the authzid feature for upcoming 7.66.0. The series was temporarily reverted in db8ec1f so that it would not ship in a 7.65.x patch release. Closes https://github.com/curl/curl/pull/4186 --- packages/OS400/ccsidcurl.c | 1 + packages/OS400/curl.inc.in | 2 ++ 2 files changed, 3 insertions(+) (limited to 'packages') diff --git a/packages/OS400/ccsidcurl.c b/packages/OS400/ccsidcurl.c index 4b462a273..a55cd5e10 100644 --- a/packages/OS400/ccsidcurl.c +++ b/packages/OS400/ccsidcurl.c @@ -1213,6 +1213,7 @@ curl_easy_setopt_ccsid(CURL *curl, CURLoption tag, ...) case CURLOPT_RTSP_SESSION_ID: case CURLOPT_RTSP_STREAM_URI: case CURLOPT_RTSP_TRANSPORT: + case CURLOPT_SASL_AUTHZID: case CURLOPT_SERVICE_NAME: case CURLOPT_SOCKS5_GSSAPI_SERVICE: case CURLOPT_SSH_HOST_PUBLIC_KEY_MD5: diff --git a/packages/OS400/curl.inc.in b/packages/OS400/curl.inc.in index 21da014e1..c9c046831 100644 --- a/packages/OS400/curl.inc.in +++ b/packages/OS400/curl.inc.in @@ -1425,6 +1425,8 @@ d c 00288 d CURLOPT_H3... d c 00289 + d CURLOPT_SASL_AUTHZID... + d c 10290 * /if not defined(CURL_NO_OLDIES) d CURLOPT_FILE c 10001 -- cgit v1.2.3