[Samba] Multiple Samba's on same machine

Mac dmccann at nibsc.ac.uk
Tue Apr 30 05:15:03 GMT 2002

>From: "Jon Gerdes" <gerdesj at whl.co.uk>
>To: <samba at lists.samba.org>
>Subject: [Samba] Multiple Samba's on same machine
>Date: Tue, 30 Apr 2002 12:57:35 +0100
>So:  Can I run multiple s/nmbd's on the same machine?


There's two basic ways of doing it (AFAIK).

One) have multiple smb.conf's each with:-

	interfaces = <one-interface>
and	bind interfaces only = true

in each, and star them all with 'smbd -s ......'

THe oterh technique relies on your clients using different names to
connect to the server, and then you use a single smb.conf (and start
smbd only once) like ths:-

	netbios aliases = name1 name2
	include = %L.conf

and then you have a series of config files (called name1.conf,
name2.conf) with different settings in each.

In all of this, watch that your log (and locks) directories don't trip
over each other in unexpected ways.

Also be aware that nmbd doesn't cope with being a MB for multiple
workgroups, you will need multiple nmbds for that (AFAIK).

[I've never used either of these techniques, but they've both been
mentioned in the past by happy users]

          Assistant Systems Adminstrator @nibsc.ac.uk
                        dmccann at nibsc.ac.uk
   Work: +44 1707 654753 x285      Everything else: +44 7956 237670 (anytime)

More information about the samba mailing list