mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3-rpc_server: Register embedded RPC services after starting lsasd and spoolssd
This ensures that these services are not accidentally registered in these child processes. Andrew Bartlett
This commit is contained in:
@ -1354,10 +1354,6 @@ extern void build_options(bool screen);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dcesrv_ep_setup(ev_ctx, msg_ctx)) {
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* only start other daemons if we are running as a daemon
|
/* only start other daemons if we are running as a daemon
|
||||||
* -- bad things will happen if smbd is launched via inetd
|
* -- bad things will happen if smbd is launched via inetd
|
||||||
* and we fork a copy of ourselves here */
|
* and we fork a copy of ourselves here */
|
||||||
@ -1382,6 +1378,10 @@ extern void build_options(bool screen);
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!dcesrv_ep_setup(ev_ctx, msg_ctx)) {
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|
||||||
if (!is_daemon) {
|
if (!is_daemon) {
|
||||||
/* inetd mode */
|
/* inetd mode */
|
||||||
TALLOC_FREE(frame);
|
TALLOC_FREE(frame);
|
||||||
|
Reference in New Issue
Block a user