summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-22 16:50:02 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:08 +0200
commit235f1485901774bfbeb0f052bc4e1397f4ef0b88 (patch)
treec3998c355aabce56cb61ec8ce91ca017f6c44279 /source3/smbd
parenta22a53ea44c18378481d3a432fb0e667117da5bd (diff)
downloadsamba-235f1485901774bfbeb0f052bc4e1397f4ef0b88.tar.gz
samba-235f1485901774bfbeb0f052bc4e1397f4ef0b88.tar.bz2
samba-235f1485901774bfbeb0f052bc4e1397f4ef0b88.zip
s3-passdb: use passdb headers where needed.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c1
-rw-r--r--source3/smbd/msg_idmap.c1
-rw-r--r--source3/smbd/ntquotas.c1
-rw-r--r--source3/smbd/nttrans.c1
-rw-r--r--source3/smbd/posix_acls.c1
-rw-r--r--source3/smbd/process.c1
-rw-r--r--source3/smbd/server.c1
-rw-r--r--source3/smbd/service.c1
-rw-r--r--source3/smbd/share_access.c1
-rw-r--r--source3/smbd/uid.c1
10 files changed, 10 insertions, 0 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 369e0ee38c..99b7d18544 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -41,6 +41,7 @@
#include "rpc_server/rpc_ncacn_np.h"
#include "../libcli/security/security.h"
#include "printing.h"
+#include "passdb/machine_sid.h"
#ifdef CHECK_TYPES
#undef CHECK_TYPES
diff --git a/source3/smbd/msg_idmap.c b/source3/smbd/msg_idmap.c
index 8d6a998de4..5c6d40023b 100644
--- a/source3/smbd/msg_idmap.c
+++ b/source3/smbd/msg_idmap.c
@@ -32,6 +32,7 @@
#include "../librpc/gen_ndr/messaging.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "idmap_cache.h"
+#include "passdb/lookup_sid.h"
struct id {
union {
diff --git a/source3/smbd/ntquotas.c b/source3/smbd/ntquotas.c
index 38ee297dde..f639b25dfc 100644
--- a/source3/smbd/ntquotas.c
+++ b/source3/smbd/ntquotas.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "../lib/util/util_pw.h"
#include "system/passwd.h"
+#include "passdb/lookup_sid.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_QUOTA
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c
index c1256f259f..bff8246ddc 100644
--- a/source3/smbd/nttrans.c
+++ b/source3/smbd/nttrans.c
@@ -24,6 +24,7 @@
#include "fake_file.h"
#include "../libcli/security/security.h"
#include "../librpc/gen_ndr/ndr_security.h"
+#include "passdb/lookup_sid.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 0e7ab87b6e..38ad86bbd3 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/smbd/posix_acls.c
@@ -23,6 +23,7 @@
#include "system/filesys.h"
#include "../libcli/security/security.h"
#include "trans2.h"
+#include "passdb/lookup_sid.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index 29eb201bed..f92c0cc811 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -28,6 +28,7 @@
#include "../lib/util/select.h"
#include "printing/pcap.h"
#include "system/select.h"
+#include "passdb.h"
extern bool global_machine_password_needs_changing;
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 7461eef62f..1fb2b6bc2e 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -37,6 +37,7 @@
#include "printing/pcap.h"
#include "printing.h"
#include "serverid.h"
+#include "passdb.h"
extern void start_epmd(struct tevent_context *ev_ctx,
struct messaging_context *msg_ctx);
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 800b79989f..ea549f6a78 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -23,6 +23,7 @@
#include "../librpc/gen_ndr/netlogon.h"
#include "../libcli/security/security.h"
#include "printing/pcap.h"
+#include "passdb/lookup_sid.h"
extern userdom_struct current_user_info;
diff --git a/source3/smbd/share_access.c b/source3/smbd/share_access.c
index d00616b24e..0c368aae79 100644
--- a/source3/smbd/share_access.c
+++ b/source3/smbd/share_access.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "smbd/globals.h"
#include "../libcli/security/security.h"
+#include "passdb/lookup_sid.h"
/*
* No prefix means direct username
diff --git a/source3/smbd/uid.c b/source3/smbd/uid.c
index 070c1448ee..53a9c7cc61 100644
--- a/source3/smbd/uid.c
+++ b/source3/smbd/uid.c
@@ -22,6 +22,7 @@
#include "smbd/globals.h"
#include "../librpc/gen_ndr/netlogon.h"
#include "libcli/security/security.h"
+#include "passdb/lookup_sid.h"
/* what user is current? */
extern struct current_user current_user;