summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/kerberos.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-05 16:29:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:06:22 -0500
commitf99c93ec57691a393b4ae5ba57176b98f33efc17 (patch)
treeae13cf51ef8046682b457db7587bb5804022918c /source4/libcli/auth/kerberos.h
parent1424dccb92f2ed4002ed703e4e8c9aa453d04e01 (diff)
downloadsamba-f99c93ec57691a393b4ae5ba57176b98f33efc17.tar.gz
samba-f99c93ec57691a393b4ae5ba57176b98f33efc17.tar.bz2
samba-f99c93ec57691a393b4ae5ba57176b98f33efc17.zip
r4070: move some defines from asn_1.h to the places they belong to
metze (This used to be commit ab2c2f27e1c61516e885f02bf26350f97209057a)
Diffstat (limited to 'source4/libcli/auth/kerberos.h')
-rw-r--r--source4/libcli/auth/kerberos.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source4/libcli/auth/kerberos.h b/source4/libcli/auth/kerberos.h
index 9d6a5e81ae..3ab71f7875 100644
--- a/source4/libcli/auth/kerberos.h
+++ b/source4/libcli/auth/kerberos.h
@@ -21,6 +21,13 @@
#if defined(HAVE_KRB5)
+/* not really ASN.1, but RFC 1964 */
+#define TOK_ID_KRB_AP_REQ "\x01\x00"
+#define TOK_ID_KRB_AP_REP "\x02\x00"
+#define TOK_ID_KRB_ERROR "\x03\x00"
+#define TOK_ID_GSS_GETMIC "\x01\x01"
+#define TOK_ID_GSS_WRAP "\x02\x01"
+
#ifdef HAVE_KRB5_KEYBLOCK_KEYVALUE
#define KRB5_KEY_TYPE(k) ((k)->keytype)
#define KRB5_KEY_LENGTH(k) ((k)->keyvalue.length)