From 3f453f73a80c98cc98b6b61698c547339817285c Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Wed, 30 Jun 2010 23:47:03 +0200 Subject: s3-libads: move spnego defines to their appropriate header file. Guenther --- libcli/auth/spnego.h | 6 ++++++ source3/include/ads.h | 6 ------ 2 files changed, 6 insertions(+), 6 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, diff --git a/source3/include/ads.h b/source3/include/ads.h index 06a48f9691..756612be3a 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -6,12 +6,6 @@ basically this is a wrapper around ldap */ -#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 wb_posix_mapping { WB_POSIX_MAP_UNKNOWN = -1, WB_POSIX_MAP_TEMPLATE = 0, -- cgit