[Samba] Multiple Samba's on same machine
Thomas Stegbauer
tsmailing at tronicplanet.de
Wed May 1 13:18:02 GMT 2002
Jon Gerdes wrote:
> I have tried hunting through docs/lists/Google but no joy. I am sure I saw something about running multiple Samba's on different ports but I want to use different interfaces all on port 139.
>
> So: Can I run multiple s/nmbd's on the same machine?
>
> I have nine main VLANs and somewher in the region of 30 odd worgroups (don't ask !) of which 10 are of interest. 3,500 odd PCs. I have a Linux box with all nine VLANs on it and I can easily add more IP addresses per VLAN using aliasing. It has 18 addresses at the moment.
>
> The idea was to make this thing a browse master for all VLANs/workgroups. This should ease the amount of master browser elections etc etc we see and also effectivly give cross subnet browsing for all workgroups.
>
> I think it *should* be possible. I am having a go anyway with two lots of everything. ie 2 smb.conf's and pid files etc etc.
>
> If it is not possible, I would be gratefull if someone could point this out before I lose hair over it. A simple yes or no should do the trick.
>
> Cheers
> Jon Gerdes
>
>
hi jon,
i have this running on several servers, this was not a big problem.
i have for each server a own virtual interface (eth0:0, eth0:1) and all
samba running on port 139.
the options i added to the different smb.conf was:
interfaces = 192.168.1.4/255.255.25.0
bind interfaces only = yes
socket address = 192.168.1.4
i used it until now twice, once for 2.0.7 (production-server), and a tng
and 2.2.x for testing on one machine.
and last week on a suse 7.3 with samba 2.2.3a and samba-2.2.4pre running
on one machine (the 2.2.4pre was for w2k profiles)
greetings
thomas
--
# Thomas Stegbauer
# http://www.keyserver.de:11371/pks/lookup?op=get&search=0xFF837A1A
More information about the samba
mailing list