diff options
author | Günther Deschner <gd@samba.org> | 2011-02-11 11:16:08 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-11 12:22:41 +0100 |
commit | e4bf69285b25f709740fc688b304e2f000112380 (patch) | |
tree | 332725ac092781b7f5474785635158147d92ea48 | |
parent | c7d0850ee8d938c8742d62cc887ed784ec8b1b25 (diff) | |
download | samba-e4bf69285b25f709740fc688b304e2f000112380.tar.gz samba-e4bf69285b25f709740fc688b304e2f000112380.tar.bz2 samba-e4bf69285b25f709740fc688b304e2f000112380.zip |
s3-libsmb: fix ifdef check in ads_dc_name.
We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.
Guenther
-rw-r--r-- | source3/libsmb/namequery_dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c index 5d44719a8e..23850e3e9f 100644 --- a/source3/libsmb/namequery_dc.c +++ b/source3/libsmb/namequery_dc.c @@ -101,7 +101,7 @@ static bool ads_dc_name(const char *domain, continue; } -#ifdef HAVE_KRB5 +#ifdef HAVE_ADS 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. |