<samba:parameter name="rpc_server:SERVER"
                 context="G"
                 type="string"
                 xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
<description>
	<para>
		With this option you can define if a rpc service should be
		running internal/embedded in smbd or should be redirected to an
		external daemon like Samba4, the endpoint mapper daemon, the
		spoolss daemon or the new LSA service daemon. The rpc_server
		prefix must be followed by the pipe name, and a value.
	</para>

	<para>
		This option can be set for each available rpc service in Samba.
		The following list shows all available pipe names services you
		can modify with this option.
	</para>

	<itemizedlist>
		<listitem><para>epmapper     - Endpoint Mapper</para></listitem>
		<listitem><para>winreg       - Remote Registry Service</para></listitem>
		<listitem><para>srvsvc       - Remote Server Services</para></listitem>
		<listitem><para>lsarpc       - Local Security Authority</para></listitem>
		<listitem><para>samr         - Security Account Management</para></listitem>
		<listitem><para>netlogon     - Netlogon Remote Protocol</para></listitem>
		<listitem><para>netdfs       - Settings for Distributed File System</para></listitem>
		<listitem><para>dssetup      - Active Directory Setup</para></listitem>
		<listitem><para>wkssvc       - Workstation Services</para></listitem>
		<listitem><para>spoolss      - Network Printing Spooler</para></listitem>
		<listitem><para>svcctl       - Service Control</para></listitem>
		<listitem><para>ntsvcs       - Plug and Play Services</para></listitem>
		<listitem><para>eventlog     - Event Logger</para></listitem>
		<listitem><para>initshutdown - Init Shutdown Service</para></listitem>
		<listitem><para>mdssvc       - Spotlight</para></listitem>
	</itemizedlist>

	<para>
		Three possible values currently supported are:
		<command moreinfo="none">embedded</command>
		<command moreinfo="none">external</command>
		<command moreinfo="none">disabled</command>
	</para>

	<para>
		The classic method is to run every pipe as an internal function
		<emphasis>embedded</emphasis> in smbd. The defaults may vary
		depending on the service.
	</para>

	<para>
		Choosing the <emphasis>external</emphasis> option allows one to run
		a separate daemon or even a completely independent (3rd party)
		server capable of interfacing with samba via the MS-RPC
		interface over named pipes.
	</para>

	<para>
		Currently in Samba3 we support four daemons, spoolssd, epmd,
		lsasd and mdssd. These daemons can be enabled using the
		<emphasis>rpc_daemon</emphasis> option. For spoolssd you have
		to enable the daemon and proxy the named pipe with:
	</para>

	<para>
		Examples:
		<programlisting>
			rpc_daemon:lsasd = fork
			rpc_server:lsarpc = external
			rpc_server:samr = external
			rpc_server:netlogon = external

			rpc_server:spoolss = external
			rpc_server:epmapper = disabled

			rpc_daemon:mdssd = fork
			rpc_server:mdssvc = external
		</programlisting>
	</para>

	<para>
		There is one special option which allows you to enable rpc
		services to listen for ncacn_ip_tcp connections too. Currently
		this is only used for testing and doesn't scale!

		<programlisting>
			rpc_server:tcpip = yes
		</programlisting>
	</para>

</description>

<value type="default">embedded</value>
</samba:parameter>
