[Samba] Multiple samba instances

Marc Muehlfeld mmuehlfeld at samba.org
Sat Jan 31 02:34:37 MST 2015

Hello Tim,

Am 31.01.2015 um 00:18 schrieb Tim:
> Has anyone tried this to setup a AD DC and Memberserver on one machine?
> https://wiki.samba.org/index.php/Multiple_Server_Instances
> Is it possible to provision a domain in one instance to have a DC? 
> Sounds interesting to me.

What is the reason behind this question?

Theroretically it should be possible: Configure a NIC alias (second IP
on your NIC), then provision Samba as a DC and bind it to the first IP
of the NIC.

Then create a second smb.conf with pathes for state|cache|lock dir,
different 'netbios name' and bind this install to the second IP of the
NIC. Start this instance with 'smbd -s /path/to/second/smb.conf' (+same
for winbind|nmbd).


More information about the samba mailing list