From 9a085b0b80d1528e2b7a65ae8a4647cffff74a0c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 27 Dec 2011 22:00:22 +1100 Subject: 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 --- libcli/auth/krb5_wrap.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libcli') 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); -- cgit