summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-07-16 14:35:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:28:39 -0500
commit57dd25cccbc0691dd4b84d2dca03497863b355ea (patch)
tree873acf17955046066c32e019882d93c5dde077e6 /source3/libsmb
parent0f0e847e39de2f4084127f782261ad290ba042c7 (diff)
downloadsamba-57dd25cccbc0691dd4b84d2dca03497863b355ea.tar.gz
samba-57dd25cccbc0691dd4b84d2dca03497863b355ea.tar.bz2
samba-57dd25cccbc0691dd4b84d2dca03497863b355ea.zip
r23893: add dummy callbacks for LDAP SASL wrapping,
they're not used yet... metze (This used to be commit a3b97cdce719d9d5e82f26096c0e8c3a86ff3965)
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/namequery_dc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c
index 0c1207d4e5..7dac69e2db 100644
--- a/source3/libsmb/namequery_dc.c
+++ b/source3/libsmb/namequery_dc.c
@@ -123,7 +123,11 @@ static BOOL ads_dc_name(const char *domain,
fstrcpy(srv_name, ads->config.ldap_server_name);
strupper_m(srv_name);
+#ifdef HAVE_ADS
*dc_ip = ads->ldap.ip;
+#else
+ ZERO_STRUCT(*dc_ip);
+#endif
ads_destroy(&ads);
DEBUG(4,("ads_dc_name: using server='%s' IP=%s\n",