summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-30 23:47:03 +0200
committerGünther Deschner <gd@samba.org>2010-07-01 23:20:40 +0200
commit3f453f73a80c98cc98b6b61698c547339817285c (patch)
treeddcd54d78fa3150e49200895dd19f5c49de1c4e3 /libcli
parentdff7be8ccb9538cfe8468884aa2eecd129c631cb (diff)
downloadsamba-3f453f73a80c98cc98b6b61698c547339817285c.tar.gz
samba-3f453f73a80c98cc98b6b61698c547339817285c.tar.bz2
samba-3f453f73a80c98cc98b6b61698c547339817285c.zip
s3-libads: move spnego defines to their appropriate header file.
Guenther
Diffstat (limited to 'libcli')
-rw-r--r--libcli/auth/spnego.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcli/auth/spnego.h b/libcli/auth/spnego.h
index 4b60f22d32..6aed765492 100644
--- a/libcli/auth/spnego.h
+++ b/libcli/auth/spnego.h
@@ -33,6 +33,12 @@
#define SPNEGO_CONF_FLAG 0x20
#define SPNEGO_INTEG_FLAG 0x40
+#define TOK_ID_KRB_AP_REQ ((const uint8_t *)"\x01\x00")
+#define TOK_ID_KRB_AP_REP ((const uint8_t *)"\x02\x00")
+#define TOK_ID_KRB_ERROR ((const uint8_t *)"\x03\x00")
+#define TOK_ID_GSS_GETMIC ((const uint8_t *)"\x01\x01")
+#define TOK_ID_GSS_WRAP ((const uint8_t *)"\x02\x01")
+
enum spnego_negResult {
SPNEGO_ACCEPT_COMPLETED = 0,
SPNEGO_ACCEPT_INCOMPLETE = 1,