summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-11-22 19:48:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:32 -0500
commitb6f68105caf2a1630aaa9156bcf4979a04d0fa98 (patch)
treed8ed2a9533e6848ac08f423c5332e33289a41c1f
parentac331c48db29afeb712bb1a1edf739354082ad7f (diff)
downloadsamba-b6f68105caf2a1630aaa9156bcf4979a04d0fa98.tar.gz
samba-b6f68105caf2a1630aaa9156bcf4979a04d0fa98.tar.bz2
samba-b6f68105caf2a1630aaa9156bcf4979a04d0fa98.zip
r11864: fix build breakage with solaris LDAP patch (my fault)
(This used to be commit 7ac6afe4dcded2e3db9e2012aaa57879bb63b508)
-rw-r--r--source3/utils/net_lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c
index 3a6781f762..cd62245600 100644
--- a/source3/utils/net_lookup.c
+++ b/source3/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;
}