summaryrefslogtreecommitdiff
path: root/examples/winexe
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-08-20 09:40:41 +0200
committerAndreas Schneider <asn@cryptomilk.org>2020-11-03 15:25:37 +0000
commit1298280a22ef7494fb85a6a5953bae15d22fa204 (patch)
tree2913bf9b7dc8f1151faa063ea01e4b1c1b4b65a0 /examples/winexe
parent7d846cd178d653600c71ee4bd6a491a9e48a56da (diff)
downloadsamba-1298280a22ef7494fb85a6a5953bae15d22fa204.tar.gz
auth:creds: Rename CRED_USE_KERBEROS values
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Alexander Bokovoy <ab@samba.org>
Diffstat (limited to 'examples/winexe')
-rw-r--r--examples/winexe/winexe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/winexe/winexe.c b/examples/winexe/winexe.c
index 03e7ec85198..95386211c0a 100644
--- a/examples/winexe/winexe.c
+++ b/examples/winexe/winexe.c
@@ -283,8 +283,8 @@ static void parse_args(int argc, const char *argv[],
if (opt_kerberos) {
cli_credentials_set_kerberos_state(cred,
strcmp(opt_kerberos, "yes")
- ? CRED_MUST_USE_KERBEROS
- : CRED_DONT_USE_KERBEROS);
+ ? CRED_USE_KERBEROS_REQUIRED
+ : CRED_USE_KERBEROS_DISABLED);
}
if (options->runas == NULL && options->runas_file != NULL) {