TurnKey Linux Virtual Appliance Library
Jeremy's picture

The only solution I could imagine is multiple VMs

The best solution IMO would be to install a hypervisor OS on your hardware and then install multiple VMs on top of that. Proxmox is my favourite as it includes both KVM (full virtualisation - can run unmodified Win & LInux OSs) and OpenVZ (container virtualisation suitable only for Linux OSs). I have a TKL Fileserver appliance running under OpenVZ sharing GB & GBs of files and it uses 36MB at idle!

A quick google suggests that running multiple instances of Samba inside a single OS may not be possible. From what I've read Samba uses port 139 and you can not have multiple services listening on the same port. However I did find one link that suggested that it may be possible. Good luck if you go down that path. If you manage to get it working like that, it'd be great if you could come back and share your findings as I'm sure others would love to hear.

Chips's picture

Not multiple Domains but Multiple Subnets!

This is not multiple domains but samba can listen on multiple subnets.

In your smb.conf you would have to declare your interfaces

eg: interfaces = eth0 eth1

or eg: interfaces = 10.0.0.0/8 192.168.0.0/8

Your DHCP can also shelve out leases on multiple interfaces.

See my post below for details.

http://community.smoothwall.org/forum/viewtopic.php?f=16&t=16589

/dev/signature

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)