diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-03 12:49:10 +1100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-03-05 23:14:33 +0100 |
commit | 074ee6f34c3c105d7c5d940b420ccd785c05867e (patch) | |
tree | 73bc37041fa5a143b8a565ec804e7b36d644e86f | |
parent | be7bcf0e550229eb5ee15c65d3f50b8ddd5e9dff (diff) | |
download | samba-074ee6f34c3c105d7c5d940b420ccd785c05867e.tar.gz samba-074ee6f34c3c105d7c5d940b420ccd785c05867e.tar.bz2 samba-074ee6f34c3c105d7c5d940b420ccd785c05867e.zip |
s3-rpc_server: Remove remaining code for embedded endpoint mapper
Signed-off-by: Andreas Schneider <asn@samba.org>
Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Mon Mar 5 23:14:33 CET 2012 on sn-devel-104
-rw-r--r-- | source3/rpc_server/rpc_service_setup.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source3/rpc_server/rpc_service_setup.c b/source3/rpc_server/rpc_service_setup.c index 7492d1e1a5..203eeb1693 100644 --- a/source3/rpc_server/rpc_service_setup.c +++ b/source3/rpc_server/rpc_service_setup.c @@ -53,24 +53,6 @@ #include "rpc_server/rpc_config.h" #include "rpc_server/epmapper/srv_epmapper.h" -static bool rpc_setup_epmapper(struct tevent_context *ev_ctx, - struct messaging_context *msg_ctx) -{ - enum rpc_service_mode_e epm_mode = rpc_epmapper_mode(); - enum rpc_daemon_type_e epm_type = rpc_epmapper_daemon(); - NTSTATUS status; - - if (epm_mode != RPC_SERVICE_MODE_DISABLED && - epm_type != RPC_DAEMON_DISABLED) { - status = rpc_epmapper_init(NULL); - if (!NT_STATUS_IS_OK(status)) { - return false; - } - } - - return true; -} - /* Common routine for embedded RPC servers */ static bool rpc_setup_embedded(struct tevent_context *ev_ctx, struct messaging_context *msg_ctx, @@ -516,11 +498,6 @@ bool dcesrv_ep_setup(struct tevent_context *ev_ctx, goto done; } - ok = rpc_setup_epmapper(ev_ctx, msg_ctx); - if (!ok) { - goto done; - } - rpcsrv_type = lp_parm_const_string(GLOBAL_SECTION_SNUM, "rpc_server", "tcpip", |