diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 00:47:06 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-09-28 00:47:06 +0000 |
commit | 2b54a2fc2c85ea139e2acdbbc2f14b969c0c6315 (patch) | |
tree | 5663f55abde81f543729cb6c2bac7811c4e15a5b | |
parent | 0f5d18626bebaa0621ee703ea2cc8bf47e14ea3e (diff) | |
download | samba-2b54a2fc2c85ea139e2acdbbc2f14b969c0c6315.tar.gz samba-2b54a2fc2c85ea139e2acdbbc2f14b969c0c6315.tar.xz samba-2b54a2fc2c85ea139e2acdbbc2f14b969c0c6315.zip |
This needs to be #ifdef HAVE_LDAP.
-rw-r--r-- | source/libads/ldap_utils.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/libads/ldap_utils.c b/source/libads/ldap_utils.c index fbc9eb433f0..9e4b8a1de92 100644 --- a/source/libads/ldap_utils.c +++ b/source/libads/ldap_utils.c @@ -21,6 +21,8 @@ */ #include "includes.h" + +#ifdef HAVE_LDAP /* a wrapper around ldap_search_s that retries depending on the error code this is supposed to catch dropped connections and auto-reconnect @@ -88,3 +90,4 @@ ADS_STATUS ads_search_retry_dn(ADS_STRUCT *ads, void **res, return ads_do_search_retry(ads, dn, LDAP_SCOPE_BASE, "(objectclass=*)", attrs, res); } +#endif |