summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-05-17 14:51:55 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-05-17 14:51:55 +0000
commit0d26e9f69c49bca92a3b4c68ebe36eef24895d75 (patch)
treee20c5ff475d13bfd68fd50877a6603d6f27614f2 /source3/passdb
parentc7523c57512258007f0ac5271697fc6a9f4618d6 (diff)
downloadsamba-0d26e9f69c49bca92a3b4c68ebe36eef24895d75.tar.gz
samba-0d26e9f69c49bca92a3b4c68ebe36eef24895d75.tar.bz2
samba-0d26e9f69c49bca92a3b4c68ebe36eef24895d75.zip
Make --with-ldapsam 'go away'. This is now a standard, stable, feature
and there is no real reason for it to depend on more than the abilty to compile the code. (This used to be commit 64aaec137e39595e6e61b55eb525615683a1393c)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 797cc28ee6..af0cbef4f2 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -24,7 +24,7 @@
#include "includes.h"
-#ifdef WITH_LDAP_SAM
+#ifdef HAVE_LDAP
/* TODO:
* persistent connections: if using NSS LDAP, many connections are made
* however, using only one within Samba would be nice
@@ -1505,13 +1505,13 @@ NTSTATUS pdb_init_ldapsam_nua(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method
NTSTATUS pdb_init_ldapsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, const char *location)
{
- DEBUG(0, ("ldapsam not compiled in!\n"));
+ DEBUG(0, ("ldap not detected at configure time, ldapsam not availalble!\n"));
return NT_STATUS_UNSUCCESSFUL;
}
NTSTATUS pdb_init_ldapsam_nua(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, const char *location)
{
- DEBUG(0, ("ldapsam_nua not compiled in!\n"));
+ DEBUG(0, ("ldap not dectected at configure time, ldapsam_nua not available!\n"));
return NT_STATUS_UNSUCCESSFUL;
}