From 2fcd113f5507f643fcf80d5a9770ce72aa121ba8 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 31 Aug 2006 04:14:08 +0000 Subject: r17945: Store the server and client sitenames in the ADS struct so we can see when they match - only create the ugly krb5 hack when they do. Jeremy. (This used to be commit 9be4ecf24b6b5dacf4c2891bddb072fa7543753f) --- source3/include/ads.h | 2 ++ source3/include/ads_cldap.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'source3/include') diff --git a/source3/include/ads.h b/source3/include/ads.h index 365ac3e852..f200df5d22 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -46,6 +46,8 @@ typedef struct { char *realm; char *bind_path; char *ldap_server_name; + char *server_site_name; + char *client_site_name; time_t current_time; } config; diff --git a/source3/include/ads_cldap.h b/source3/include/ads_cldap.h index e5df892a40..0108363c1b 100644 --- a/source3/include/ads_cldap.h +++ b/source3/include/ads_cldap.h @@ -43,6 +43,8 @@ struct cldap_netlogon_reply { uint16 lm20_token; }; +#define DEFAULT_SITE_NAME "Default-First-Site-Name" + /* Mailslot or cldap getdcname response flags */ #define ADS_PDC 0x00000001 /* DC is PDC */ #define ADS_GC 0x00000004 /* DC is a GC of forest */ -- cgit