summaryrefslogtreecommitdiff
path: root/source4/auth
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-16 20:12:00 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:40 +0100
commitca0b72a1fdb7bd965065e833df34662afef0423e (patch)
tree4030d16b135f54cdbbffa61dba2c6e9bda1766d2 /source4/auth
parentb7c5d2b0c9e3366e61bf83ea7b49aff4da05ac0d (diff)
downloadsamba-ca0b72a1fdb7bd965065e833df34662afef0423e.tar.gz
samba-ca0b72a1fdb7bd965065e833df34662afef0423e.tar.bz2
samba-ca0b72a1fdb7bd965065e833df34662afef0423e.zip
r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
Diffstat (limited to 'source4/auth')
-rw-r--r--source4/auth/auth_sam.c3
-rw-r--r--source4/auth/config.mk2
-rw-r--r--source4/auth/credentials/credentials_files.c2
-rw-r--r--source4/auth/gensec/schannel_state.c3
-rw-r--r--source4/auth/sam.c3
5 files changed, 8 insertions, 5 deletions
diff --git a/source4/auth/auth_sam.c b/source4/auth/auth_sam.c
index da1ffb5c85..fd92f3ae12 100644
--- a/source4/auth/auth_sam.c
+++ b/source4/auth/auth_sam.c
@@ -22,7 +22,8 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
#include "system/time.h"
-#include "db_wrap.h"
+#include "tdb_wrap.h"
+#include "util/util_ldb.h"
#include "lib/ldb/include/ldb.h"
#include "auth/auth.h"
#include "auth/auth_sam.h"
diff --git a/source4/auth/config.mk b/source4/auth/config.mk
index c34a941d12..497fccbc96 100644
--- a/source4/auth/config.mk
+++ b/source4/auth/config.mk
@@ -7,7 +7,7 @@ include credentials/config.mk
[SUBSYSTEM::auth_sam]
PRIVATE_PROTO_HEADER = auth_sam.h
OBJ_FILES = sam.o auth_sam_reply.o ntlm_check.o
-PUBLIC_DEPENDENCIES = SAMDB
+PUBLIC_DEPENDENCIES = SAMDB UTIL_LDB
#######################
# Start MODULE auth_sam
diff --git a/source4/auth/credentials/credentials_files.c b/source4/auth/credentials/credentials_files.c
index 1708fa5841..db69fc1cb4 100644
--- a/source4/auth/credentials/credentials_files.c
+++ b/source4/auth/credentials/credentials_files.c
@@ -26,7 +26,7 @@
#include "librpc/gen_ndr/samr.h" /* for struct samrPassword */
#include "param/secrets.h"
#include "system/filesys.h"
-#include "db_wrap.h"
+#include "util/util_ldb.h"
#include "auth/credentials/credentials.h"
#include "auth/credentials/credentials_krb5.h"
#include "param/param.h"
diff --git a/source4/auth/gensec/schannel_state.c b/source4/auth/gensec/schannel_state.c
index 808240c4f4..1bb71d8fc9 100644
--- a/source4/auth/gensec/schannel_state.c
+++ b/source4/auth/gensec/schannel_state.c
@@ -23,7 +23,8 @@
#include "lib/ldb/include/ldb.h"
#include "lib/ldb/include/ldb_errors.h"
#include "dsdb/samdb/samdb.h"
-#include "db_wrap.h"
+#include "ldb_wrap.h"
+#include "util/util_ldb.h"
#include "libcli/auth/libcli_auth.h"
#include "auth/auth.h"
#include "param/param.h"
diff --git a/source4/auth/sam.c b/source4/auth/sam.c
index ad8d77ecf8..6a212b8cfe 100644
--- a/source4/auth/sam.c
+++ b/source4/auth/sam.c
@@ -22,7 +22,8 @@
#include "includes.h"
#include "system/time.h"
#include "auth/auth.h"
-#include "db_wrap.h"
+#include <ldb.h>
+#include "util/util_ldb.h"
#include "dsdb/samdb/samdb.h"
#include "libcli/security/security.h"
#include "libcli/ldap/ldap.h"