Re: binding samba to specific interface...

2002-12-27 Thread Martin Rusko

Kaddik wrote:

Is it possible to specify the interface that samba should listen on?
I'm I missing something, or is package-dropping in iptables the
only method? I'm using woody w 2.4.18 kernel..

/Oerjan




Well, you should check these two options in "man smb.conf":

interfaces = comma separated list of your interfaces
bind interfaces only = yes

I think, that you should use both. "interfaces" specify, what interfaces 
additionaly to interfaces found at starting time samba sould use. And 
when you use "bind interfaces only" you should not omit 127.0.0.1 in 
your interfaces line, because then samba will use only interfaces 
specified in "interfaces" option.


   mARTin

--
Martin Rusko
PhD student
Department of Automation and Measurement
Faculty of Mechanical Engineering
Slovak University of Technology
--
E-mail: [EMAIL PROTECTED]
Web:http://sunsite.mine.nu/~rusko
--
motto: We are Microsoft! Resistance is futile. Open your
   source code and prepare for assimilation.



Re: binding samba to specific interface...

2002-12-27 Thread Martin Rusko
Kaddik wrote:

Is it possible to specify the interface that samba should listen on?
I'm I missing something, or is package-dropping in iptables the
only method? I'm using woody w 2.4.18 kernel..

/Oerjan




Well, you should check these two options in "man smb.conf":

interfaces = comma separated list of your interfaces
bind interfaces only = yes

I think, that you should use both. "interfaces" specify, what interfaces 
additionaly to interfaces found at starting time samba sould use. And 
when you use "bind interfaces only" you should not omit 127.0.0.1 in 
your interfaces line, because then samba will use only interfaces 
specified in "interfaces" option.

   mARTin

--
Martin Rusko
PhD student
Department of Automation and Measurement
Faculty of Mechanical Engineering
Slovak University of Technology
--
E-mail: [EMAIL PROTECTED]
Web:http://sunsite.mine.nu/~rusko
--
motto: We are Microsoft! Resistance is futile. Open your
   source code and prepare for assimilation.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: binding samba to specific interface...

2002-12-24 Thread Mike Hommey
On Wednesday 25 December 2002 00:40, Kaddik wrote:
> Is it possible to specify the interface that samba should listen on?
> I'm I missing something, or is package-dropping in iptables the
> only method? I'm using woody w 2.4.18 kernel..
>
> /Oerjan

add 
socket address = your.interface.ip.address
to your smb.conf

-- 
Mike Hommey <[EMAIL PROTECTED]>
"Je crois au moment, et s'il n'y a pas le moment à ce moment là, il faut
 arriver à ce moment là au moment qu'on veut." -- Jean-Claude Vandamme



Re: binding samba to specific interface...

2002-12-24 Thread Rolf Kutz
* Quoting Kaddik ([EMAIL PROTECTED]):

> Is it possible to specify the interface that samba should listen on?
> I'm I missing something, or is package-dropping in iptables the
> only method? I'm using woody w 2.4.18 kernel..

'bind interfaces only' in smb.conf

But you should do source checking with iptables.

- rk

-- 
Ahahahahaha! Ahahahaha! Aahahaha!
BEWARE!
Yrs sincerely
The Opera Ghost



Re: binding samba to specific interface...

2002-12-24 Thread Mike Hommey
On Wednesday 25 December 2002 00:40, Kaddik wrote:
> Is it possible to specify the interface that samba should listen on?
> I'm I missing something, or is package-dropping in iptables the
> only method? I'm using woody w 2.4.18 kernel..
>
> /Oerjan

add 
socket address = your.interface.ip.address
to your smb.conf

-- 
Mike Hommey <[EMAIL PROTECTED]>
"Je crois au moment, et s'il n'y a pas le moment à ce moment là, il faut
 arriver à ce moment là au moment qu'on veut." -- Jean-Claude Vandamme


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: binding samba to specific interface...

2002-12-24 Thread Rolf Kutz
* Quoting Kaddik ([EMAIL PROTECTED]):

> Is it possible to specify the interface that samba should listen on?
> I'm I missing something, or is package-dropping in iptables the
> only method? I'm using woody w 2.4.18 kernel..

'bind interfaces only' in smb.conf

But you should do source checking with iptables.

- rk

-- 
Ahahahahaha! Ahahahaha! Aahahaha!
BEWARE!
Yrs sincerely
The Opera Ghost


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]