[Samba] How can I setup a Domain Controller and File Server on the same hardware
mmuehlfeld at samba.org
Sat Nov 5 16:48:48 UTC 2016
Am 05.11.2016 um 17:33 schrieb John te Bokkel via samba:
> I understand from the wiki that I shouldn't have the domain controller also
> be the file server.
> Is it possible to to setup the domain controller in a chroot and have the
> file server run under regular root?
> Would it be better to setup a VM for the domain controller and have file
> server run on the main OS or vice-versa?
to run two Samba instances on the same host, you can create a NIC alias
with an additional IP address and bind the Samba DC to one IP and the
file server to the second. Of course you need two separate smb.conf
files and configure individual database directories. And then start the
daemons with the "-c" parameter and the path to the smb.conf file.
Maybe this would be something new and interesting to discover and to
document the procedure. I will think about it. :-)
More information about the samba