summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-11 11:48:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:56 -0500
commit59a3aece8129d35e7b6c540b75cd585e88b4c05f (patch)
tree821a20ae8a9ceb6f972205a3c3980b87cb9bb3d8 /source4/libcli
parentf17eb8f2a9d0234b0d31f7ded76b8ef9ab945f02 (diff)
downloadsamba-59a3aece8129d35e7b6c540b75cd585e88b4c05f.tar.gz
samba-59a3aece8129d35e7b6c540b75cd585e88b4c05f.tar.bz2
samba-59a3aece8129d35e7b6c540b75cd585e88b4c05f.zip
r1446: Another funciton to avoid in proto.h
Andrew Bartlett (This used to be commit 310a570936c0d2d5af168aeca1b33206622d8355)
Diffstat (limited to 'source4/libcli')
-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 */