1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s3:rpc_server: Set debug class in all rpc server related files

Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
Samuel Cabrero 2019-02-05 19:27:58 +01:00 committed by Stefan Metzmacher
parent 01c6602dd2
commit 6f07f46771
13 changed files with 39 additions and 0 deletions

View File

@ -36,6 +36,9 @@
#include "lib/server_prefork.h"
#include "lib/server_prefork_util.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
#define SPOOLSS_PIPE_NAME "spoolss"
#define DAEMON_NAME "spoolssd"

View File

@ -24,6 +24,9 @@
#include "auth.h"
#include "auth/gensec/gensec.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
static NTSTATUS auth_generic_server_authtype_start_as_root(TALLOC_CTX *mem_ctx,
uint8_t auth_type, uint8_t auth_level,
const struct tsocket_address *remote_address,

View File

@ -31,6 +31,9 @@
#include "rpc_server/epmapper/srv_epmapper.h"
#include "rpc_server/epmd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
#define DAEMON_NAME "epmd"
static void epmd_reopen_logs(void)

View File

@ -32,6 +32,9 @@
#include "rpc_server/fss/srv_fss_agent.h"
#include "rpc_server/fssd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
#define DAEMON_NAME "fssd"
void start_fssd(struct tevent_context *ev_ctx,

View File

@ -40,6 +40,9 @@
#include "librpc/gen_ndr/srv_netlogon.h"
#include "rpc_server/lsasd.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
#define DAEMON_NAME "lsasd"
#define LSASD_MAX_SOCKETS 64

View File

@ -21,6 +21,9 @@
#include "includes.h"
#include "rpc_server/rpc_config.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
/* the default is "embedded" so this table
* lists only services that are not using
* the default in order to keep enumerating it

View File

@ -22,6 +22,9 @@
#include "rpc_contexts.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
struct pipe_rpc_fns *find_pipe_fns_by_context(struct pipe_rpc_fns *list,
uint32_t context_id)
{

View File

@ -27,6 +27,9 @@
#include "librpc/rpc/dcerpc_ep.h"
#include "rpc_server/rpc_ep_register.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
static void rpc_ep_register_loop(struct tevent_req *subreq);
static NTSTATUS rpc_ep_try_register(TALLOC_CTX *mem_ctx,
struct tevent_context *ev_ctx,

View File

@ -22,6 +22,9 @@
#include "includes.h"
#include "rpc_server/rpc_modules.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
static struct rpc_module *rpc_modules;
struct rpc_module {

View File

@ -34,6 +34,9 @@
#include "rpc_server/srv_pipe_hnd.h"
#include "rpc_server/srv_pipe.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
/* Creates a pipes_struct and initializes it with the information
* sent from the client */
int make_server_pipes_struct(TALLOC_CTX *mem_ctx,

View File

@ -54,6 +54,9 @@
#include "rpc_server/rpc_modules.h"
#include "rpc_server/epmapper/srv_epmapper.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
static_decl_rpc;
/* Common routine for embedded RPC servers */

View File

@ -28,6 +28,9 @@
#include "rpc_server/rpc_sock_helper.h"
#include "lib/server_prefork.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
NTSTATUS dcesrv_create_ncacn_ip_tcp_sockets(
const struct ndr_interface_table *iface,
struct dcerpc_binding_vector *bvec,

View File

@ -33,6 +33,9 @@
#include "../libcli/security/security.h"
#include "passdb/machine_sid.h"
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_RPC_SRV
/*******************************************************************
Checks if access to an object should be granted, and returns that
level of access for further checks.