SAMBA-DCERPCD(8)
π SAMBA-DCERPCD π
okay bestie, so this is the manual page for samba-dcerpcd, and it lives in the System Administration tools section of the manual (that's the whole "8" thing, iykyk). Buckle up, it's giving helper-process realness β¨
πΈ NAME πΈ
samba-dcerpcd β this is one of Samba's DCERPC server processes, and she can listen on sockets where RPC services are offered, and she is also the parent process of the DCERPC services she invokes. Unless she's separately invoked, she gets started on demand from smbd or winbind, and she serves DCERPC only over named pipes (np) as a helper process. This is the standard setup for most installations (standalone / member server / AD server), unless somebody goes and modifies their startup scripts. π
Note (this part matters, fr fr): when Samba is configured as an Active Directory Domain Controller, the samba process that invokes smbd will still provide its normal DCERPC services, not samba-dcerpcd. π
And when she's separately invoked by system startup scripts or a daemon, the global smb.conf option rpc start on demand helpers = false MUST be set to allow samba-dcerpcd to start standalone. No cap.
π¦ SYNOPSIS π¦
samba-dcerpcd [-D|--daemon] [-i|--interactive] [-F|--foreground]
[--no-process-group] [-d <debug level>] [--debug-stdout]
[--configfile=<configuration file>] [--option=<name>=<value>]
[--leak-report] [--leak-report-full] [-V|--version] [--libexec-rpcds]
[--np-helper] [--ready-signal-fd=<fd>] [<SERVICE_1>] [<SERVICE_2>]
[<...>]
just a heads up: the synopsis up there lists some flags that the OPTIONS section below doesn't expand on. I'm not gonna invent lore for them, so we're keeping it exactly as the page says. π
β¨ DESCRIPTION β¨
This tool is part of the samba(7) suite. π
samba-dcerpcd can be used in two ways, bestie:
- The normal case β no startup script modification, and the global
smb.confoptionrpc start on demand helpers = trueis set (that's the default setting). She gets invoked on demand fromsmbdorwinbindwith a command line containing--np-helper, to serve DCERPC over named pipes (np). - The standalone mode β she's started separately from
smbdorwinbindvia system startup scripts. If invoked as a standalone daemon, or started from system startup scripts, the globalsmb.confoptionrpc start on demand helpers = falseMUST be set to false.
π¨ and listen: if the globalsmb.confoptionrpc start on demand helpers = trueis set to true or left as the default,samba-dcerpcdwill fail to start and log an error message. So like, don't do that. π
Note that when Samba is run in the Active Directory Domain Controller mode, the samba AD code will still provide its normal DCERPC services whilst allowing samba-dcerpcd to provide services like SRVSVC in the same way that smbd used to in this configuration. iconic behaviour honestly π
The standalone mode can also be useful for use outside of the Samba framework β for example, use with the Linux kernel SMB2 server ksmbd, or possibly other SMB2 server implementations. In this mode she behaves like inetd and listens on sockets on behalf of RPC server implementations. π«Ά
When a client connects, samba-dcerpcd will start the relevant RPC service binary on demand and hand over the connection to that service. And when an RPC service has been idle for a while, samba-dcerpcd will ask it to shut down again. so polite of her honestly π
π OPTIONS π
-D|--daemonβ if specified, this parameter causes the server to operate as a daemon. That is, she detaches herself and runs in the background, fielding requests on the appropriate port. Operating the server as a daemon is useful for runningsamba-dcerpcdoutside of the Samba framework. However, it can also be used this way within Samba for member servers if configured to start up via system startup scripts. This switch is assumed ifsamba-dcerpcdis executed on the command line of a shell. π-i|--interactiveβ if this parameter is specified, it causes the server to run "interactively", not as a daemon, even if the server is executed on the command line of a shell. Setting this parameter negates the implicit daemon mode when run from the command line.samba-dcerpcdwill only accept one connection and terminate. She will also log to standard output, as if the-Sparameter had been given. π-F|--foregroundβ if specified, this parameter causes the mainsamba-dcerpcdprocess to not daemonize, i.e. no double-fork and disassociate with the terminal. Child processes are still spawned as normal to service each connection request, but the main process does not exit. This operation mode is suitable for runningsamba-dcerpcdunder process supervisors such assuperviseandsvscanfrom Daniel J. Bernstein's daemontools package, or the AIX process monitor. πΈ--no-process-groupβ do not create a new process group forsamba-dcerpcd. simple as that bestie π¦--libexec-rpcdsβ offer RPC services for all daemons in Samba'sLIBEXECDIR; all programs starting with"rpcd_"are assumed to offer RPC services. If you don't use the--libexec-rpcdsoption, you can explicitly list all RPC service helpers explicitly on the command line. π--np-helperβ runsamba-dcerpcdon demand, opening named pipe sockets as helpers forsmbdorwinbind. In order to run in this mode, the globalsmb.confoptionrpc start on demand helpers = truemust be set to true (this is the default setting). β¨--ready-signal-fd=<fd>β report service readiness via thisfdtosmbdorwinbind. Only for internal use. π
π AUTHOR π
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. absolute legends, no notes π«Άπ
π SEE ALSO π
(the page doesn't list one, bestie β I'm not gonna manifest references out of thin air β¨)
okay that's the whole vibe check, you ate that π this was Samba 4.24.7, dated 09/09/2026, written down by the Samba Team, and honestly? she slays. periodt. π πΈ
π¦ where this page comes from
- fedora 44: samba-dcerpc 2:4.24.7-1.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms