git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f5d186
)
This needs to be #ifdef HAVE_LDAP.
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 28 Sep 2002 00:47:06 +0000
(
00:47
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 28 Sep 2002 00:47:06 +0000
(
00:47
+0000)
source/libads/ldap_utils.c
patch
|
blob
|
history
diff --git
a/source/libads/ldap_utils.c
b/source/libads/ldap_utils.c
index fbc9eb433f0f8e4d35f5a048a0563b3e04efeaf6..9e4b8a1de9252dc34567a69bedd3e15d3586ee9d 100644
(file)
--- 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