summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/nt_printing_migrate.c1
-rw-r--r--source3/printing/printspoolss.c1
-rw-r--r--source3/rpc_server/rpc_ncacn_np.h23
-rw-r--r--source3/rpc_server/srv_netlog_nt.c1
-rw-r--r--source3/rpc_server/srv_spoolss_util.c1
-rw-r--r--source3/smbd/lanman.c1
-rw-r--r--source3/smbd/reply.c1
7 files changed, 29 insertions, 0 deletions
diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c
index 2060b91f35..c6466767e5 100644
--- a/source3/printing/nt_printing_migrate.c
+++ b/source3/printing/nt_printing_migrate.c
@@ -25,6 +25,7 @@
#include "librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h"
#include "librpc/gen_ndr/ndr_security.h"
+#include "rpc_server/rpc_ncacn_np.h"
#define FORMS_PREFIX "FORMS/"
#define DRIVERS_PREFIX "DRIVERS/"
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c
index 62182865bf..e140d84889 100644
--- a/source3/printing/printspoolss.c
+++ b/source3/printing/printspoolss.c
@@ -20,6 +20,7 @@
#include "includes.h"
#include "printing.h"
#include "../librpc/gen_ndr/cli_spoolss.h"
+#include "rpc_server/rpc_ncacn_np.h"
#include "smbd/globals.h"
void print_spool_terminate(struct connection_struct *conn,
diff --git a/source3/rpc_server/rpc_ncacn_np.h b/source3/rpc_server/rpc_ncacn_np.h
index 5bcc84c040..2487146967 100644
--- a/source3/rpc_server/rpc_ncacn_np.h
+++ b/source3/rpc_server/rpc_ncacn_np.h
@@ -29,10 +29,33 @@ struct np_proxy_state {
struct tevent_queue *write_queue;
};
+struct pipes_struct *make_internal_rpc_pipe_p(TALLOC_CTX *mem_ctx,
+ const struct ndr_syntax_id *syntax,
+ struct client_address *client_id,
+ const struct auth_serversupplied_info *server_info,
+ struct messaging_context *msg_ctx);
struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx,
const char *pipe_name,
const struct tsocket_address *local_address,
const struct tsocket_address *remote_address,
struct auth_serversupplied_info *server_info);
+NTSTATUS rpcint_binding_handle(TALLOC_CTX *mem_ctx,
+ const struct ndr_interface_table *ndr_table,
+ struct client_address *client_id,
+ const struct auth_serversupplied_info *server_info,
+ struct messaging_context *msg_ctx,
+ struct dcerpc_binding_handle **binding_handle);
+NTSTATUS rpc_pipe_open_internal(TALLOC_CTX *mem_ctx,
+ const struct ndr_syntax_id *abstract_syntax,
+ struct auth_serversupplied_info *serversupplied_info,
+ struct client_address *client_id,
+ struct messaging_context *msg_ctx,
+ struct rpc_pipe_client **presult);
+NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
+ const struct ndr_syntax_id *syntax,
+ struct auth_serversupplied_info *server_info,
+ struct client_address *client_id,
+ struct messaging_context *msg_ctx,
+ struct rpc_pipe_client **cli_pipe);
#endif /* _RPC_NCACN_NP_H_ */
diff --git a/source3/rpc_server/srv_netlog_nt.c b/source3/rpc_server/srv_netlog_nt.c
index d0f9dc9dba..171f30ba75 100644
--- a/source3/rpc_server/srv_netlog_nt.c
+++ b/source3/rpc_server/srv_netlog_nt.c
@@ -35,6 +35,7 @@
#include "librpc/gen_ndr/messaging.h"
#include "../lib/crypto/md4.h"
#include "rpc_client/init_lsa.h"
+#include "rpc_server/rpc_ncacn_np.h"
extern userdom_struct current_user_info;
diff --git a/source3/rpc_server/srv_spoolss_util.c b/source3/rpc_server/srv_spoolss_util.c
index 78a332588c..2ebce91c52 100644
--- a/source3/rpc_server/srv_spoolss_util.c
+++ b/source3/rpc_server/srv_spoolss_util.c
@@ -27,6 +27,7 @@
#include "../librpc/gen_ndr/cli_winreg.h"
#include "../librpc/gen_ndr/ndr_security.h"
#include "secrets.h"
+#include "rpc_server/rpc_ncacn_np.h"
#define TOP_LEVEL_PRINT_KEY "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Print"
#define TOP_LEVEL_PRINT_PRINTERS_KEY TOP_LEVEL_PRINT_KEY "\\Printers"
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index fd69d247d2..2b01e89d6c 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -38,6 +38,7 @@
#include "../lib/util/binsearch.h"
#include "../libcli/auth/libcli_auth.h"
#include "rpc_client/init_lsa.h"
+#include "rpc_server/rpc_ncacn_np.h"
#ifdef CHECK_TYPES
#undef CHECK_TYPES
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 4ace452ed9..ff77507471 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -31,6 +31,7 @@
#include "../librpc/gen_ndr/cli_spoolss.h"
#include "rpc_client/cli_spoolss.h"
#include "rpc_client/init_spoolss.h"
+#include "rpc_server/rpc_ncacn_np.h"
/****************************************************************************
Ensure we check the path in *exactly* the same way as W2K for a findfirst/findnext