summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/kerberos.h
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/auth/kerberos.h')
-rw-r--r--source4/libcli/auth/kerberos.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/libcli/auth/kerberos.h b/source4/libcli/auth/kerberos.h
index fae00a5646..75dd4eeaa2 100644
--- a/source4/libcli/auth/kerberos.h
+++ b/source4/libcli/auth/kerberos.h
@@ -63,5 +63,11 @@ krb5_error_code ads_krb5_mk_req(krb5_context context,
krb5_data *outbuf);
void get_auth_data_from_tkt(TALLOC_CTX *mem_ctx,
DATA_BLOB *auth_data, krb5_ticket *tkt);
+NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
+ krb5_context context,
+ krb5_auth_context auth_context,
+ const char *realm, const DATA_BLOB *ticket,
+ char **principal, DATA_BLOB *auth_data,
+ DATA_BLOB *ap_rep)
#endif /* HAVE_KRB5 */