summaryrefslogtreecommitdiff
path: root/libcli/auth/spnego.h
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/auth/spnego.h')
-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,