summaryrefslogtreecommitdiff
path: root/source3/libnet
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-08-19 15:46:11 +0200
committerAndrew Bartlett <abartlet@samba.org>2021-04-28 03:43:34 +0000
commit521f77c6671a0a088dedcdcafd264690c123b0b3 (patch)
tree5f9dccec89fc63d2112d35e078fc9dad573be05f /source3/libnet
parenta00726593c2f3b464e48c22e7a757aa1a06ecff2 (diff)
downloadsamba-521f77c6671a0a088dedcdcafd264690c123b0b3.tar.gz
auth:creds: Add obtained arg to cli_credentials_set_kerberos_state()
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/libnet')
-rw-r--r--source3/libnet/libnet_join.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c
index bd3aeec9434..fb28fa44dfe 100644
--- a/source3/libnet/libnet_join.c
+++ b/source3/libnet/libnet_join.c
@@ -1707,7 +1707,8 @@ NTSTATUS libnet_join_ok(struct messaging_context *msg_ctx,
if (use_kerberos) {
cli_credentials_set_kerberos_state(cli_creds,
- CRED_USE_KERBEROS_REQUIRED);
+ CRED_USE_KERBEROS_REQUIRED,
+ CRED_SPECIFIED);
}
status = cli_full_connection_creds(&cli, NULL,