summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-11-26 18:21:28 +0100
committerGünther Deschner <gd@samba.org>2009-11-26 20:03:17 +0100
commit3d679a3b5fc208d8521217f6a4b4d9037b609b9b (patch)
tree9f6fd075c76225f17e4e18da477cd75720dcc35e /source3/smbd
parent86f4536b7a128922b5d5808557e70fa243442361 (diff)
downloadsamba-3d679a3b5fc208d8521217f6a4b4d9037b609b9b.tar.gz
samba-3d679a3b5fc208d8521217f6a4b4d9037b609b9b.tar.bz2
samba-3d679a3b5fc208d8521217f6a4b4d9037b609b9b.zip
s3-rpc: Avoid including every pipe's client and server stubs everywhere in samba.
Guenther
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c2
-rw-r--r--source3/smbd/process.c15
2 files changed, 17 insertions, 0 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 074f7e2c37..2bee5c1bde 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -27,6 +27,8 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "../librpc/gen_ndr/cli_samr.h"
+#include "../librpc/gen_ndr/srv_samr.h"
#ifdef CHECK_TYPES
#undef CHECK_TYPES
diff --git a/source3/smbd/process.c b/source3/smbd/process.c
index fbaa9dee29..3c5cb53026 100644
--- a/source3/smbd/process.c
+++ b/source3/smbd/process.c
@@ -20,6 +20,21 @@
#include "includes.h"
#include "smbd/globals.h"
+#include "../librpc/gen_ndr/srv_dfs.h"
+#include "../librpc/gen_ndr/srv_drsuapi.h"
+#include "../librpc/gen_ndr/srv_dssetup.h"
+#include "../librpc/gen_ndr/srv_echo.h"
+#include "../librpc/gen_ndr/srv_eventlog.h"
+#include "../librpc/gen_ndr/srv_initshutdown.h"
+#include "../librpc/gen_ndr/srv_lsa.h"
+#include "../librpc/gen_ndr/srv_netlogon.h"
+#include "../librpc/gen_ndr/srv_ntsvcs.h"
+#include "../librpc/gen_ndr/srv_samr.h"
+#include "../librpc/gen_ndr/srv_spoolss.h"
+#include "../librpc/gen_ndr/srv_srvsvc.h"
+#include "../librpc/gen_ndr/srv_svcctl.h"
+#include "../librpc/gen_ndr/srv_winreg.h"
+#include "../librpc/gen_ndr/srv_wkssvc.h"
extern bool global_machine_password_needs_changing;