summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/ads.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index ad7720fc36..89f54a23f2 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -54,7 +54,7 @@ typedef struct {
} config;
/* info about the current LDAP connection */
-#ifdef HAVE_ADS
+#ifdef HAVE_LDAP
struct {
LDAP *ld;
struct in_addr ip; /* the ip of the active connection, if any */