summaryrefslogtreecommitdiff
path: root/source3/include/ads_cldap.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-08-31 16:26:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:44 -0500
commit305ceade3905dad45eac2f407dd8f56a9979cf1c (patch)
tree8c4d24a40459d0b0fc36243e3019b2ab9252c15b /source3/include/ads_cldap.h
parent7c07bd61dc75529940bb55697a6c11920816ecbd (diff)
downloadsamba-305ceade3905dad45eac2f407dd8f56a9979cf1c.tar.gz
samba-305ceade3905dad45eac2f407dd8f56a9979cf1c.tar.bz2
samba-305ceade3905dad45eac2f407dd8f56a9979cf1c.zip
r17970: Add missing include-guards around ads.h and ads_cldap.h.
Remove all reference to "Default-First-Site-Name" and treat it like any other site. Jeremy. (This used to be commit 5ae3564d6844f44a6943b2028917bd457371af1e)
Diffstat (limited to 'source3/include/ads_cldap.h')
-rw-r--r--source3/include/ads_cldap.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/include/ads_cldap.h b/source3/include/ads_cldap.h
index 0108363c1b..fd227c895d 100644
--- a/source3/include/ads_cldap.h
+++ b/source3/include/ads_cldap.h
@@ -19,6 +19,9 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef _INCLUDE_ADS_CLDAP_H_
+#define _INCLUDE_ADS_CLDAP_H_
+
#define MAX_DNS_LABEL 255 + 1
struct cldap_netlogon_reply {
@@ -43,8 +46,6 @@ 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 */
@@ -57,4 +58,4 @@ struct cldap_netlogon_reply {
#define ADS_GOOD_TIMESERV 0x00000200 /* DC has hardware clock (and running time) */
#define ADS_NDNC 0x00000400 /* DomainName is non-domain NC serviced by LDAP server */
-
+#endif /* _INCLUDE_CLDAP_H_ */