summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-21 19:59:27 +0200
committerGünther Deschner <gd@samba.org>2008-04-21 20:21:40 +0200
commitbcbac69d1a38e128ffe8b763ac027d6eab33dcec (patch)
tree3f9c8917a791e4eee03758746ddc063e371f62d2 /source3/include
parent1dd7ab38e7f7b5dae46cef4567957c71d6b5cc23 (diff)
downloadsamba-bcbac69d1a38e128ffe8b763ac027d6eab33dcec.tar.gz
samba-bcbac69d1a38e128ffe8b763ac027d6eab33dcec.tar.bz2
samba-bcbac69d1a38e128ffe8b763ac027d6eab33dcec.zip
cldap: avoid duplicate definitions so remove ads_cldap.h.
Guenther (This used to be commit 538eefe22ad69540b9f73ffaa613d6be045de199)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/ads_cldap.h60
-rw-r--r--source3/include/includes.h1
2 files changed, 0 insertions, 61 deletions
diff --git a/source3/include/ads_cldap.h b/source3/include/ads_cldap.h
deleted file mode 100644
index 692fc1b233..0000000000
--- a/source3/include/ads_cldap.h
+++ /dev/null
@@ -1,60 +0,0 @@
-/*
- Samba Unix/Linux SMB client library
- net ads cldap functions
- Copyright (C) 2001 Andrew Tridgell (tridge@samba.org)
- Copyright (C) 2003 Jim McDonough (jmcd@us.ibm.com)
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#ifndef _INCLUDE_ADS_CLDAP_H_
-#define _INCLUDE_ADS_CLDAP_H_
-
-#define MAX_DNS_LABEL 255 + 1
-
-struct cldap_netlogon_reply {
- uint32 type;
- uint32 flags;
- UUID_FLAT guid;
-
- char forest[MAX_DNS_LABEL];
- char domain[MAX_DNS_LABEL];
- char hostname[MAX_DNS_LABEL];
-
- char netbios_domain[MAX_DNS_LABEL];
- char netbios_hostname[MAX_DNS_LABEL];
-
- char unk[MAX_DNS_LABEL];
- char user_name[MAX_DNS_LABEL];
- char server_site_name[MAX_DNS_LABEL];
- char client_site_name[MAX_DNS_LABEL];
-
- uint32 version;
- uint16 lmnt_token;
- uint16 lm20_token;
-};
-
-/* Mailslot or cldap getdcname response flags */
-#define ADS_PDC 0x00000001 /* DC is PDC */
-#define ADS_GC 0x00000004 /* DC is a GC of forest */
-#define ADS_LDAP 0x00000008 /* DC is an LDAP server */
-#define ADS_DS 0x00000010 /* DC supports DS */
-#define ADS_KDC 0x00000020 /* DC is running KDC */
-#define ADS_TIMESERV 0x00000040 /* DC is running time services */
-#define ADS_CLOSEST 0x00000080 /* DC is closest to client */
-#define ADS_WRITABLE 0x00000100 /* DC has writable DS */
-#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_ADS_CLDAP_H_ */
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 06d41957c9..70e1b48fa1 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -673,7 +673,6 @@ typedef char fstring[FSTRING_LEN];
#include "messages.h"
#include "locking.h"
#include "smb.h"
-#include "ads_cldap.h"
#include "nameserv.h"
#include "secrets.h"
#include "byteorder.h"