diff options
author | Günther Deschner <gd@samba.org> | 2010-06-30 23:47:03 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-01 23:20:40 +0200 |
commit | 3f453f73a80c98cc98b6b61698c547339817285c (patch) | |
tree | ddcd54d78fa3150e49200895dd19f5c49de1c4e3 | |
parent | dff7be8ccb9538cfe8468884aa2eecd129c631cb (diff) | |
download | samba-3f453f73a80c98cc98b6b61698c547339817285c.tar.gz samba-3f453f73a80c98cc98b6b61698c547339817285c.tar.bz2 samba-3f453f73a80c98cc98b6b61698c547339817285c.zip |
s3-libads: move spnego defines to their appropriate header file.
Guenther
-rw-r--r-- | libcli/auth/spnego.h | 6 | ||||
-rw-r--r-- | 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, |