Link to home
Start Free TrialLog in
Avatar of hk22
hk22

asked on

is it possible to setup more samba server on one linux with 3 nic

Hi,
three small companies shares one linux server with 3 nic, I'd like to setup more samba server in the server. is it possible?
if yes, how can I do that?
Avatar of psimation
psimation
Flag of South Africa image

It should be possible, you list the different interfaces in smb.conf...
Avatar of Somebody_else
Somebody_else

why would you need to setup more than one server on the same machine? You should only need one instance of samba running no matter how many clients need to connect.

Usually the interfaces listed will not be needed since samba autodetects them... but you can list all of the ips for the NIC cards if you want.

What you would have to setup is user names and passwords for additional people who want to connect to the samba server.

Basically the samba service just acts a file and printer sharing server that can host a great number of companies/clients......... there are ways to make different directorys shared for each company also so that they all dont see each other's files.... is this more along the lines of what you need?
ASKER CERTIFIED SOLUTION
Avatar of jlevie
jlevie

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
AFAIK you can run multiple sanba servers (even if makes no sence as explained earlier), but you have to use its own setup (smb.conf, smbpasswd, etc.) for each.
You cannot have more than one samba server listening on the same IP (for obvious reason). See smb.conf for details.