summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-22 23:49:33 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:08 +0200
commit20d8ae49b701bc2663dcecad8253863c9c979a40 (patch)
tree9e047447a7035587760b4cf09057fd1fc181e4bb
parent84815d38d204f3b6d0bbd2f419a20915078be70a (diff)
downloadsamba-20d8ae49b701bc2663dcecad8253863c9c979a40.tar.gz
samba-20d8ae49b701bc2663dcecad8253863c9c979a40.tar.bz2
samba-20d8ae49b701bc2663dcecad8253863c9c979a40.zip
s3: rpc_server needs parts of smbd.
Guenther
-rw-r--r--source3/rpc_server/dfs/srv_dfs_nt.c1
-rw-r--r--source3/rpc_server/eventlog/srv_eventlog_nt.c2
-rw-r--r--source3/rpc_server/spoolss/srv_spoolss_nt.c1
-rw-r--r--source3/rpc_server/srv_pipe.c1
-rw-r--r--source3/rpc_server/srvsvc/srv_srvsvc_nt.c1
-rw-r--r--source3/rpc_server/wkssvc/srv_wkssvc_nt.c1
6 files changed, 6 insertions, 1 deletions
diff --git a/source3/rpc_server/dfs/srv_dfs_nt.c b/source3/rpc_server/dfs/srv_dfs_nt.c
index e8862064bc..f4bf3bf74a 100644
--- a/source3/rpc_server/dfs/srv_dfs_nt.c
+++ b/source3/rpc_server/dfs/srv_dfs_nt.c
@@ -24,6 +24,7 @@
#include "includes.h"
#include "../librpc/gen_ndr/srv_dfs.h"
#include "msdfs.h"
+#include "smbd/smbd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_MSDFS
diff --git a/source3/rpc_server/eventlog/srv_eventlog_nt.c b/source3/rpc_server/eventlog/srv_eventlog_nt.c
index f6b508b089..a047db6b27 100644
--- a/source3/rpc_server/eventlog/srv_eventlog_nt.c
+++ b/source3/rpc_server/eventlog/srv_eventlog_nt.c
@@ -28,7 +28,7 @@
#include "../librpc/gen_ndr/ndr_winreg_c.h"
#include "rpc_client/cli_winreg_int.h"
#include "rpc_client/cli_winreg.h"
-
+#include "smbd/smbd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c
index 56a2713442..1b83528d74 100644
--- a/source3/rpc_server/spoolss/srv_spoolss_nt.c
+++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c
@@ -46,6 +46,7 @@
#include "printing/notify.h"
#include "serverid.h"
#include "../libcli/registry/util_reg.h"
+#include "smbd/smbd.h"
/* macros stolen from s4 spoolss server */
#define SPOOLSS_BUFFER_UNION(fn,info,level) \
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 3f4c673b21..e8e5bc3d60 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -38,6 +38,7 @@
#include "dcesrv_spnego.h"
#include "rpc_server.h"
#include "rpc_dce.h"
+#include "smbd/smbd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
diff --git a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
index 5720baa4ab..5af92c45b0 100644
--- a/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
+++ b/source3/rpc_server/srvsvc/srv_srvsvc_nt.c
@@ -32,6 +32,7 @@
#include "dbwrap.h"
#include "session.h"
#include "../lib/util/util_pw.h"
+#include "smbd/smbd.h"
extern const struct generic_mapping file_generic_mapping;
diff --git a/source3/rpc_server/wkssvc/srv_wkssvc_nt.c b/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
index 67089c9411..639fe8fdb6 100644
--- a/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
+++ b/source3/rpc_server/wkssvc/srv_wkssvc_nt.c
@@ -29,6 +29,7 @@
#include "../librpc/gen_ndr/srv_wkssvc.h"
#include "../libcli/security/security.h"
#include "session.h"
+#include "smbd/smbd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV