1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s4:rpc_server: Move core functions to core library

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
Samuel Cabrero 2019-10-03 19:38:31 +02:00 committed by Andreas Schneider
parent 076ec9173e
commit 491102b5b2
7 changed files with 2808 additions and 2807 deletions

View File

@ -21,14 +21,13 @@
*/ */
#include "includes.h" #include "includes.h"
#include "rpc_server/dcerpc_server.h" #include "librpc/rpc/dcesrv_core.h"
#include "rpc_server/dcerpc_server_proto.h" #include "librpc/rpc/dcesrv_core_proto.h"
#include "librpc/gen_ndr/ndr_dcerpc.h" #include "librpc/gen_ndr/ndr_dcerpc.h"
#include "auth/credentials/credentials.h" #include "auth/credentials/credentials.h"
#include "auth/gensec/gensec.h" #include "auth/gensec/gensec.h"
#include "auth/auth.h" #include "auth/auth.h"
#include "param/param.h" #include "param/param.h"
#include "librpc/rpc/rpc_common.h"
static NTSTATUS dcesrv_auth_negotiate_hdr_signing(struct dcesrv_call_state *call, static NTSTATUS dcesrv_auth_negotiate_hdr_signing(struct dcesrv_call_state *call,
struct ncacn_packet *pkt) struct ncacn_packet *pkt)

File diff suppressed because it is too large Load Diff

View File

@ -20,8 +20,8 @@
*/ */
#include "includes.h" #include "includes.h"
#include "rpc_server/dcerpc_server.h" #include "librpc/rpc/dcesrv_core.h"
#include "rpc_server/dcerpc_server_proto.h" #include "librpc/rpc/dcesrv_core_proto.h"
#include "librpc/gen_ndr/ndr_mgmt.h" #include "librpc/gen_ndr/ndr_mgmt.h"
#define DCESRV_INTERFACE_MGMT_BIND(context, iface) \ #define DCESRV_INTERFACE_MGMT_BIND(context, iface) \

View File

@ -21,12 +21,11 @@
*/ */
#include "includes.h" #include "includes.h"
#include "librpc/rpc/dcesrv_core.h"
#include "librpc/rpc/dcesrv_core_proto.h"
#include "auth/gensec/gensec.h" #include "auth/gensec/gensec.h"
#include "lib/util/dlinklist.h" #include "lib/util/dlinklist.h"
#include "rpc_server/dcerpc_server.h"
#include "rpc_server/dcerpc_server_proto.h"
#include "param/param.h" #include "param/param.h"
#include "librpc/rpc/rpc_common.h"
/* /*
move a call from an existing linked list to the specified list. This move a call from an existing linked list to the specified list. This

View File

@ -635,6 +635,9 @@ bld.SAMBA_LIBRARY('dcerpc-binding',
bld.SAMBA_LIBRARY('dcerpc-server-core', bld.SAMBA_LIBRARY('dcerpc-server-core',
source=''' source='''
rpc/dcesrv_core.c rpc/dcesrv_core.c
rpc/dcesrv_auth.c
rpc/dcesrv_mgmt.c
rpc/dcesrv_reply.c
''', ''',
deps='ndr dcerpc-binding', deps='ndr dcerpc-binding',
pc_files=[], pc_files=[],

File diff suppressed because it is too large Load Diff

View File

@ -22,7 +22,7 @@ bld.SAMBA_SUBSYSTEM('DCERPC_COMMON',
) )
bld.SAMBA_LIBRARY('dcerpc_server', bld.SAMBA_LIBRARY('dcerpc_server',
source='dcerpc_server.c dcesrv_auth.c dcesrv_mgmt.c handles.c dcesrv_reply.c', source='dcerpc_server.c handles.c',
pc_files='dcerpc_server.pc', pc_files='dcerpc_server.pc',
deps='LIBCLI_AUTH ndr samba_server_gensec service auth', deps='LIBCLI_AUTH ndr samba_server_gensec service auth',
public_deps='dcerpc dcerpc-server-core', public_deps='dcerpc dcerpc-server-core',