diff options
author | Günther Deschner <gd@samba.org> | 2010-06-30 23:20:22 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-01 23:20:40 +0200 |
commit | 6d810eff81f6a0abb371b2661cb0711e46e1bf1d (patch) | |
tree | ac4f30631d31f3042ec9c688a3ea142405a2529d /source3/include/ads.h | |
parent | 56538be6af9d4d76bffe5f142ba6a62e978561da (diff) | |
download | samba-6d810eff81f6a0abb371b2661cb0711e46e1bf1d.tar.gz samba-6d810eff81f6a0abb371b2661cb0711e46e1bf1d.tar.bz2 samba-6d810eff81f6a0abb371b2661cb0711e46e1bf1d.zip |
s3-libads: move keytab macros out of ads.h.
Guenther
Diffstat (limited to 'source3/include/ads.h')
-rw-r--r-- | source3/include/ads.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h index e48e0a2650..784af848fa 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -8,24 +8,6 @@ #include "../libds/common/flags.h" -/* - * This should be under the HAVE_KRB5 flag but since they're used - * in lp_kerberos_method(), they ned to be always available - */ -#define KERBEROS_VERIFY_SECRETS 0 -#define KERBEROS_VERIFY_SYSTEM_KEYTAB 1 -#define KERBEROS_VERIFY_DEDICATED_KEYTAB 2 -#define KERBEROS_VERIFY_SECRETS_AND_KEYTAB 3 - -/* - * If you add any entries to the above, please modify the below expressions - * so they remain accurate. - */ -#define USE_KERBEROS_KEYTAB (KERBEROS_VERIFY_SECRETS != lp_kerberos_method()) -#define USE_SYSTEM_KEYTAB \ - ((KERBEROS_VERIFY_SECRETS_AND_KEYTAB == lp_kerberos_method()) || \ - (KERBEROS_VERIFY_SYSTEM_KEYTAB == lp_kerberos_method())) - #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") |