r11864: fix build breakage with solaris LDAP patch (my fault)
authorGerald Carter <jerry@samba.org>
Tue, 22 Nov 2005 19:48:33 +0000 (19:48 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:05:32 +0000 (11:05 -0500)
source/utils/net_lookup.c

index 3a6781f76213347f932931b040687bc18e276dba..cd62245600d6cdbd2c52ed2e844626bbcdb7492d 100644 (file)
@@ -85,7 +85,7 @@ static void print_ldap_srvlist(char *srvlist)
 
 static int net_lookup_ldap(int argc, const char **argv)
 {
-#ifdef HAVE_LDAP
+#ifdef HAVE_ADS
        char *srvlist;
        const char *domain;
        int rc;
@@ -127,7 +127,7 @@ static int net_lookup_ldap(int argc, const char **argv)
        }
        return -1;
 #endif
-       DEBUG(1,("No LDAP support\n"));
+       DEBUG(1,("No ADS support\n"));
        return -1;
 }