From b226955587ee3a45c25bef2783e13e82d2f9048c Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 30 Mar 2012 19:33:53 -0400 Subject: s4-auth-krb: Move keytab functions in a separate file. Confine ldb dependency. Signed-off-by: Andreas Schneider --- source4/auth/kerberos/kerberos.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source4/auth/kerberos/kerberos.h') diff --git a/source4/auth/kerberos/kerberos.h b/source4/auth/kerberos/kerberos.h index a224a2dd83..b5d655a058 100644 --- a/source4/auth/kerberos/kerberos.h +++ b/source4/auth/kerberos/kerberos.h @@ -40,6 +40,12 @@ struct keytab_container { krb5_keytab keytab; }; +struct principal_container { + struct smb_krb5_context *smb_krb5_context; + krb5_principal principal; + const char *string_form; /* Optional */ +}; + /* not really ASN.1, but RFC 1964 */ #define TOK_ID_KRB_AP_REQ ((const uint8_t *)"\x01\x00") #define TOK_ID_KRB_AP_REP ((const uint8_t *)"\x02\x00") -- cgit