diff options
author | Andreas Schneider <asn@samba.org> | 2020-08-20 10:50:30 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2021-04-28 03:43:34 +0000 |
commit | 2fbc63cacc81ab9e1dfdbe6d979c248c3bdea686 (patch) | |
tree | 85b981157ba97d208535871a094d4aa1fbd96754 /source3/lib/netapi | |
parent | 7accd9003521f38b03d1073890761f7d8dc8d675 (diff) | |
download | samba-2fbc63cacc81ab9e1dfdbe6d979c248c3bdea686.tar.gz |
auth:creds: Add obtained arg to cli_credentials_set_gensec_features()
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/netapi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/lib/netapi/netapi.c b/source3/lib/netapi/netapi.c index 56e26c83fa4..fb51bb34323 100644 --- a/source3/lib/netapi/netapi.c +++ b/source3/lib/netapi/netapi.c @@ -357,7 +357,9 @@ NET_API_STATUS libnetapi_set_use_ccache(struct libnetapi_ctx *ctx) gensec_features = cli_credentials_get_gensec_features(ctx->creds); gensec_features |= GENSEC_FEATURE_NTLM_CCACHE; - cli_credentials_set_gensec_features(ctx->creds, gensec_features); + cli_credentials_set_gensec_features(ctx->creds, + gensec_features, + CRED_SPECIFIED); return NET_API_STATUS_SUCCESS; } |