r23896: hopefully fix the build on most systems
authorStefan Metzmacher <metze@samba.org>
Mon, 16 Jul 2007 15:31:01 +0000 (15:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:28:39 +0000 (12:28 -0500)
metze
(This used to be commit d5512da62a6ae38321709611b04f419cc6c3b190)

source3/include/ads.h

index ad7720fc36d16c9fb71fdb149a0e4cd58be660c4..89f54a23f25a7480ce233d1a9cb4760253b117f1 100644 (file)
@@ -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 */