summaryrefslogtreecommitdiff
path: root/libcli/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-27 22:00:22 +1100
committerAndrew Bartlett <abartlet@samba.org>2011-12-28 22:39:19 +1100
commit9a085b0b80d1528e2b7a65ae8a4647cffff74a0c (patch)
tree7e8307b09beec2246d895ddb0591214c3b6a9a09 /libcli/auth
parent1baf91639919a96d305196da03e38097ed6ba46f (diff)
downloadsamba-9a085b0b80d1528e2b7a65ae8a4647cffff74a0c.tar.gz
samba-9a085b0b80d1528e2b7a65ae8a4647cffff74a0c.tar.bz2
samba-9a085b0b80d1528e2b7a65ae8a4647cffff74a0c.zip
auth/kerberos: Move gssapi_parse.c to the top level
This will help with writing a gensec module for the s3 gse layer. Andrew Bartlett
Diffstat (limited to 'libcli/auth')
-rw-r--r--libcli/auth/krb5_wrap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcli/auth/krb5_wrap.h b/libcli/auth/krb5_wrap.h
index 82769aede9..affb892b57 100644
--- a/libcli/auth/krb5_wrap.h
+++ b/libcli/auth/krb5_wrap.h
@@ -77,3 +77,7 @@ NTSTATUS gssapi_obtain_pac_blob(TALLOC_CTX *mem_ctx,
gss_ctx_id_t gssapi_context,
gss_name_t gss_client_name,
DATA_BLOB *pac_data);
+DATA_BLOB gensec_gssapi_gen_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *ticket, const uint8_t tok_id[2]);
+
+bool gensec_gssapi_parse_krb5_wrap(TALLOC_CTX *mem_ctx, const DATA_BLOB *blob, DATA_BLOB *ticket, uint8_t tok_id[2]);
+bool gensec_gssapi_check_oid(const DATA_BLOB *blob, const char *oid);