summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-06-30 23:20:22 +0200
committerGünther Deschner <gd@samba.org>2010-07-01 23:20:40 +0200
commit6d810eff81f6a0abb371b2661cb0711e46e1bf1d (patch)
treeac4f30631d31f3042ec9c688a3ea142405a2529d /source3/include/smb.h
parent56538be6af9d4d76bffe5f142ba6a62e978561da (diff)
downloadsamba-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/smb.h')
-rw-r--r--source3/include/smb.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index defecd7c88..b042de927c 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -1551,6 +1551,18 @@ enum ldap_ssl_types {LDAP_SSL_OFF, LDAP_SSL_START_TLS};
/* LDAP PASSWD SYNC methods */
enum ldap_passwd_sync_types {LDAP_PASSWD_SYNC_ON, LDAP_PASSWD_SYNC_OFF, LDAP_PASSWD_SYNC_ONLY};
+/*
+ * This should be under the HAVE_KRB5 flag but since they're used
+ * in lp_kerberos_method(), they ned to be always available
+ * If you add any entries to KERBEROS_VERIFY defines, please modify USE.*KEYTAB macros
+ * so they remain accurate.
+ */
+
+#define KERBEROS_VERIFY_SECRETS 0
+#define KERBEROS_VERIFY_SYSTEM_KEYTAB 1
+#define KERBEROS_VERIFY_DEDICATED_KEYTAB 2
+#define KERBEROS_VERIFY_SECRETS_AND_KEYTAB 3
+
/* Remote architectures we know about. */
enum remote_arch_types {RA_UNKNOWN, RA_WFWG, RA_OS2, RA_WIN95, RA_WINNT,
RA_WIN2K, RA_WINXP, RA_WIN2K3, RA_VISTA,