summaryrefslogtreecommitdiff
path: root/source3/libsmb/namequery_dc.c
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/libsmb/namequery_dc.c
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/libsmb/namequery_dc.c')
-rw-r--r--source3/libsmb/namequery_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c
index 06926a762b..d080f8f0b7 100644
--- a/source3/libsmb/namequery_dc.c
+++ b/source3/libsmb/namequery_dc.c
@@ -99,7 +99,7 @@ static bool ads_dc_name(const char *domain,
}
#ifdef HAVE_KRB5
- if (is_our_primary_domain(domain) && (ads->config.flags & ADS_KDC)) {
+ if (is_our_primary_domain(domain) && (ads->config.flags & NBT_SERVER_KDC)) {
if (ads_closest_dc(ads)) {
/* We're going to use this KDC for this realm/domain.
If we are using sites, then force the krb5 libs