git.samba.org
/
obnox
/
samba
/
samba-obnox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7d0850
)
s3-libsmb: fix ifdef check in ads_dc_name.
author
Günther Deschner
<gd@samba.org>
Fri, 11 Feb 2011 10:16:08 +0000
(11:16 +0100)
committer
Günther Deschner
<gd@samba.org>
Fri, 11 Feb 2011 11:22:41 +0000
(12:22 +0100)
We are accessing an LDAP structure here, so we better check that LDAP support
was there as well as Kerberos support.
Guenther
source3/libsmb/namequery_dc.c
patch
|
blob
|
history
diff --git
a/source3/libsmb/namequery_dc.c
b/source3/libsmb/namequery_dc.c
index 5d44719a8e8adbd7890edefbbd6efcb8516fd4e6..23850e3e9f1432abd0400a7923f6a12bcb3de565 100644
(file)
--- 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.