summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-11-22 19:48:33 +0000
committerGerald Carter <jerry@samba.org>2005-11-22 19:48:33 +0000
commitd1f35d594e9a4e340f110ee1798bcc0979ca05f1 (patch)
tree625d00dd0d50f4f7909deab78f1c7f6b3032f10b
parenta72cdbb11f911095781538563bb20e9dc920ff8b (diff)
downloadsamba-d1f35d594e9a4e340f110ee1798bcc0979ca05f1.tar.gz
samba-d1f35d594e9a4e340f110ee1798bcc0979ca05f1.tar.xz
samba-d1f35d594e9a4e340f110ee1798bcc0979ca05f1.zip
r11864: fix build breakage with solaris LDAP patch (my fault)
-rw-r--r--source/utils/net_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/net_lookup.c b/source/utils/net_lookup.c
index 3a6781f7621..cd62245600d 100644
--- a/source/utils/net_lookup.c
+++ b/source/utils/net_lookup.c
@@ -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;
}