Hi...>Using two IP aliases you could... >so folder A is shared on the alias 192.168.0.1 and folder B on >192.168.0.2, then limit the traffic by IP.You made it sound very simple, so i thought i can do it. But my beginner-ness didn''t allow me... I have set the different IP aliases, but i don''t know how i can share folders on different aliases. I suppose this has to be done in smb.conf, right? I have read all of the smb.conf man, but couldn''t find anything. How can i share different folders on different aliases? Thanks, antonis. PS: My smb.conf file: [global] netbios name = smbSrv workgroup = myGroup security = user encrypt passwords = yes [public] path = /tmp read only = no [video] path = /d/video read only = no guest ok = true [d_drive] path = /d read only = no guest ok = true _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com
I have not reply to this question just general thought. The probably best would be to hack samba to add new per folder option "TOS". Samba then would use SO_PRIORITY to dynamicaly mark TCP''s packets with changing priority - it can be then utilized properly by qos module. Just idea ... devik On Thu, 31 Jan 2002, Antonis Lazaridis wrote:> Hi... > > >Using two IP aliases you could... > >so folder A is shared on the alias 192.168.0.1 and folder B on > >192.168.0.2, then limit the traffic by IP. > > You made it sound very simple, so i thought i can do it. > But my beginner-ness didn''t allow me... > I have set the different IP aliases, but i don''t know how i can share > folders on different aliases. > > I suppose this has to be done in smb.conf, right? > I have read all of the smb.conf man, but couldn''t find anything. > > How can i share different folders on different aliases? > Thanks, > antonis. > > PS: My smb.conf file: > > [global] > netbios name = smbSrv > workgroup = myGroup > security = user > encrypt passwords = yes > > [public] > path = /tmp > read only = no > > [video] > path = /d/video > read only = no > guest ok = true > > [d_drive] > path = /d > read only = no > guest ok = true > > > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > > _______________________________________________ > LARTC mailing list / LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/ > >
On Thursday 31 January 2002 09:25, Antonis Lazaridis wrote:> Hi... > > >Using two IP aliases you could... > >so folder A is shared on the alias 192.168.0.1 and folder B on > >192.168.0.2, then limit the traffic by IP. > > You made it sound very simple, so i thought i can do it. > But my beginner-ness didn''t allow me... > I have set the different IP aliases, but i don''t know how i can share > folders on different aliases. > > I suppose this has to be done in smb.conf, right? > I have read all of the smb.conf man, but couldn''t find anything.From the smb.conf man ;-) (http://samba.nip.nl/samba/docs/man/smb.conf.5.html#SOCKETADDRESS) ----------------------------- socket address (G) This option allows you to control what address Samba will listen for connections on. This is used to support multiple virtual interfaces on the one server, each with a different configuration. By default Samba will accept connections on any address. Example: socket address = 192.168.2.20 ----------------------------- Stef -- stef.coene@docum.org More QOS info : http://www.docum.org/ Title : "Using Linux as bandwidth manager"
Sorry Stef,
but i don''t understand...
''socket address'' is a global parameter, right?
If i use
socket address = 192.1.1.2
then samba shares everything on 192.1.1.2
How can i use it for shareing different folders on different IPs?
antonis.
>From: Stef Coene <stef.coene@docum.org>
>To: "Antonis Lazaridis" <antonis_san@hotmail.com>,
lotto@impulse.net.au,
> lartc@mailman.ds9a.nl
>Subject: Re: Re[2]: [LARTC] traffic shaping
>Date: Thu, 31 Jan 2002 10:07:53 +0100
>
>On Thursday 31 January 2002 09:25, Antonis Lazaridis wrote:
> > Hi...
> >
> > >Using two IP aliases you could...
> > >so folder A is shared on the alias 192.168.0.1 and folder B on
> > >192.168.0.2, then limit the traffic by IP.
> >
> > You made it sound very simple, so i thought i can do it.
> > But my beginner-ness didn''t allow me...
> > I have set the different IP aliases, but i don''t know how i
can share
> > folders on different aliases.
> >
> > I suppose this has to be done in smb.conf, right?
> > I have read all of the smb.conf man, but couldn''t find
anything.
>From the smb.conf man ;-)
>(http://samba.nip.nl/samba/docs/man/smb.conf.5.html#SOCKETADDRESS)
>
>-----------------------------
>socket address (G)
>
>
>This option allows you to control what address Samba will listen for
>connections on. This is used to support multiple virtual interfaces on the
>one server, each with a different configuration.
>
>By default Samba will accept connections on any address.
>
>Example: socket address = 192.168.2.20
>-----------------------------
>
>Stef
>
>--
>
>stef.coene@docum.org
> More QOS info : http://www.docum.org/
> Title : "Using Linux as bandwidth manager"
>
>
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com
> ''socket address'' is a global parameter, right? > > If i use > socket address = 192.1.1.2 > > then samba shares everything on 192.1.1.2 > > How can i use it for shareing different folders on different IPs?probably run more smbd on the server each with different config file. devik
>probably run more smbd on the server each with different >config file. >devikYes, I tried this too, but there is a "lock" on smbd.pid. I am have been searching the internet for 1 full day, to find out how i can run multiple smbd deamons, but didn''t find anything! Is there nothing on this, or don''t i know where to search? antonis. _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
> >probably run more smbd on the server each with different > >config file. > >devik > Yes, > I tried this too, but there is a "lock" on smbd.pid.Is not there some option to select another lock file ? Ask ok samba list they are pretty responsible. devik