mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3:rpc_server: Improve debug messages
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:
parent
a2c943f52d
commit
6be10e6d43
@ -621,6 +621,8 @@ NTSTATUS dcesrv_ep_setup(struct tevent_context *ev_ctx,
|
|||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DBG_INFO("Initializing DCE/RPC modules\n");
|
||||||
|
|
||||||
/* Initialize static subsystems */
|
/* Initialize static subsystems */
|
||||||
static_init_rpc(NULL);
|
static_init_rpc(NULL);
|
||||||
|
|
||||||
@ -632,7 +634,7 @@ NTSTATUS dcesrv_ep_setup(struct tevent_context *ev_ctx,
|
|||||||
* all modules are static. So ENOENT is ok, everything else is
|
* all modules are static. So ENOENT is ok, everything else is
|
||||||
* not ok.
|
* not ok.
|
||||||
*/
|
*/
|
||||||
DBG_ERR("Loading shared RPC modules failed [%s]\n",
|
DBG_ERR("Loading shared DCE/RPC modules failed [%s]\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
status = NT_STATUS_UNSUCCESSFUL;
|
status = NT_STATUS_UNSUCCESSFUL;
|
||||||
goto done;
|
goto done;
|
||||||
@ -640,14 +642,14 @@ NTSTATUS dcesrv_ep_setup(struct tevent_context *ev_ctx,
|
|||||||
|
|
||||||
ok = run_init_functions(NULL, mod_init_fns);
|
ok = run_init_functions(NULL, mod_init_fns);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
DBG_ERR("Initializing shared RPC modules failed\n");
|
DBG_ERR("Initializing shared DCE/RPC modules failed\n");
|
||||||
status = NT_STATUS_UNSUCCESSFUL;
|
status = NT_STATUS_UNSUCCESSFUL;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
ok = setup_rpc_modules(ev_ctx, msg_ctx);
|
ok = setup_rpc_modules(ev_ctx, msg_ctx);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
DBG_ERR("Shared RPC modules setup failed\n");
|
DBG_ERR("Shared DCE/RPC modules setup failed\n");
|
||||||
status = NT_STATUS_UNSUCCESSFUL;
|
status = NT_STATUS_UNSUCCESSFUL;
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user