[Samba] Multiple samba instances

Tim lists at kiuni.de
Sat Jan 31 11:34:23 MST 2015


The reason is quite simple: It's not recommended to use a DC as a filer. But in some cases one has only one machine/hardware. So this could be a way to setup DC+member server in two instances on one machine.

Regards
Tim

Am 31. Januar 2015 10:34:37 MEZ, schrieb Marc Muehlfeld <mmuehlfeld at samba.org>:
>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).
>
>
>Regards,
>Marc


More information about the samba mailing list