summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/credentials/credentials.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c
index 48d44ad8e7..38bd701b76 100644
--- a/source4/auth/credentials/credentials.c
+++ b/source4/auth/credentials/credentials.c
@@ -238,6 +238,11 @@ BOOL cli_credentials_authentication_requested(struct cli_credentials *cred)
if (cred->username_obtained >= CRED_SPECIFIED) {
return True;
}
+
+ if (cli_credentials_get_kerberos_state(cred) == CRED_MUST_USE_KERBEROS) {
+ return True;
+ }
+
return False;
}