summaryrefslogtreecommitdiff
path: root/source3/include/includes.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/includes.h')
-rw-r--r--source3/include/includes.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index acae03c56b..49fb30e786 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1068,6 +1068,10 @@ typedef int mode_t;
end of the platform specific sections
********************************************************************/
+#if (!defined(USE_LDAP_DB) && !defined(USE_NISPLUS_DB))
+#define USE_SMBPASS_DB
+#endif
+
#if defined(USE_MMAP) || defined(FAST_SHARE_MODES)
#include <sys/mman.h>
#endif
@@ -1189,11 +1193,6 @@ union semun {
#include <krb.h>
#endif
-#ifdef USE_LDAP
-#include <lber.h>
-#include <ldap.h>
-#endif
-
#ifdef NO_UTIMBUF
struct utimbuf {
time_t actime;