/etc/samba.smb.conf
[global]
...
global parameters
...
include = /etc/samba/smb.conf.%I[for_all]
path = .../etc/samba/smb.conf.192.168.0.1
[admin]
path= .../etc/samba/smb.conf.192.168.0.2
[other]
path = ...the problem now will be to force connection to one specific interface...
Stefan Bergner wrote:
Ok, and then?
in file smb.conf.192.168.0.1
[global] ... bind interfase only = yes interfaces = eth0 ...
[FOR_ALL] ...
in file smb.conf.192.168.0.2
[global] ... bind interfase only = yes interfaces = eth1 ...
[ADMINS] ...
Does this configuration works?
Is this a good solution? i really don't know, so what's the global thinking about this.
-- Information Systems Engineering GmbH Br�ndel�ckerstrasse 6 91207 Lauf an der Pegnitz
Tel: +49-9123-9772-20 Mobil: +49-172-8254222 Fax: +49-9123-9772-22 Email: [EMAIL PROTECTED] WWW: http://www.ise-informatik.de
-----Urspr�ngliche Nachricht-----
Von: Lapin(c) [mailto:[EMAIL PROTECTED] Gesendet: Montag, 1. M�rz 2004 21:14
An: Stefan Bergner
Cc: [EMAIL PROTECTED]
Betreff: Re: [Samba] samba configuration multiple ethernet card
it should be possible using include = /etc/samba/smb.conf.%I
and defining smb.conf.192.168.0.1 files as a specific configuration file
Stefan Bergner wrote:
Hi!
I want to size a samba-server.
the samba server will become 4 ethernet cards. The samba-server serves his shares to only ONE subnet.
subnet : 192.168.0.x
so, i would configure Linux like that:
eth0 -> 192.168.0.1 eth1 -> 192.168.0.2 eth2 -> 192.168.0.3 eth3 -> 192.168.0.4
Is it possible to configure samba, to use for some shares the first card, for other shares the second, and so on ... ????
Like this
[FOR_ALL] - Share -> The Network-Traffic is running over
eth0 [ADMINS]
- Share -> The Network-Traffic is running over eth1 ...
Is there a possibity? Maybe with Virtual Servers?
Greeting and Thx
Stefan
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
