summaryrefslogtreecommitdiff
path: root/auth/credentials/tests/simple.c
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 /auth/credentials/tests/simple.c
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 'auth/credentials/tests/simple.c')
-rw-r--r--auth/credentials/tests/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/credentials/tests/simple.c b/auth/credentials/tests/simple.c
index 7f122bed3bc..b39d7a2251b 100644
--- a/auth/credentials/tests/simple.c
+++ b/auth/credentials/tests/simple.c
@@ -73,7 +73,7 @@ static bool test_guess(struct torture_context *tctx)
const char *passwd_fd = getenv("PASSWD_FD");
const char *passwd_file = getenv("PASSWD_FILE");
- cli_credentials_set_kerberos_state(creds, CRED_MUST_USE_KERBEROS);
+ cli_credentials_set_kerberos_state(creds, CRED_USE_KERBEROS_REQUIRED);
unsetenv("USER");
unsetenv("PASSWD_FD");