summaryrefslogtreecommitdiff
path: root/source4/auth/kerberos/kerberos.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2012-03-30 19:33:53 -0400
committerAndreas Schneider <asn@samba.org>2012-04-12 12:06:42 +0200
commitb226955587ee3a45c25bef2783e13e82d2f9048c (patch)
tree2f22a2773c277809ea6bccbd70339416e91fd774 /source4/auth/kerberos/kerberos.h
parent7d203f70aed948f40de0e5057e2289bb5e15628f (diff)
downloadsamba-b226955587ee3a45c25bef2783e13e82d2f9048c.tar.gz
samba-b226955587ee3a45c25bef2783e13e82d2f9048c.tar.bz2
samba-b226955587ee3a45c25bef2783e13e82d2f9048c.zip
s4-auth-krb: Move keytab functions in a separate file.
Confine ldb dependency. Signed-off-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'source4/auth/kerberos/kerberos.h')
-rw-r--r--source4/auth/kerberos/kerberos.h6
1 files changed, 6 insertions, 0 deletions
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")