summaryrefslogtreecommitdiff
path: root/examples/winexe
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 /examples/winexe
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 'examples/winexe')
-rw-r--r--examples/winexe/winexe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/winexe/winexe.c b/examples/winexe/winexe.c
index 529858ccbb8..bcf1212874b 100644
--- a/examples/winexe/winexe.c
+++ b/examples/winexe/winexe.c
@@ -284,7 +284,8 @@ static void parse_args(int argc, const char *argv[],
cli_credentials_set_kerberos_state(cred,
strcmp(opt_kerberos, "yes")
? CRED_USE_KERBEROS_REQUIRED
- : CRED_USE_KERBEROS_DISABLED);
+ : CRED_USE_KERBEROS_DISABLED,
+ CRED_SPECIFIED);
}
if (options->runas == NULL && options->runas_file != NULL) {