On Wed, Apr 18, 2001 at 15:56 +0200, Stefan Suurmeijer wrote:
On Tue, Apr 17, 2001 at 13:00 +0200, Markus Gaugusch wrote:
you can configure samba to listen only on the internal interface.
[ ... snip ... ]
Man smb.conf gives a very large but useful collection of information: in smb.conf put
interfaces = your.internal.ip.no/your.internal.net.mask (e.g. 192.168.1.1/255.255.255.0 or 192.168.1.1/24) bind interfaces only
this will cause smbd to listen only on your internal interface.
That's what made me write "I'm aware of these settings". :) But I always experienced netstat results like this: $ netstt -an | grep :13 tcp 0 0 192.168.11.129:139 0.0.0.0:* LISTEN udp 0 0 0.0.0.0:137 0.0.0.0:* udp 0 0 0.0.0.0:138 0.0.0.0:* udp 0 0 192.168.11.129:137 0.0.0.0:* udp 0 0 192.168.11.129:138 0.0.0.0:* Which I couldn't explain since I specifically told smbd to use the NIF address only. And I understood that nmbd would read and use the same config file.
Nmbd will bind on your internal interface and 0.0.0.0 (to listen for broadcasts), [ ... ]
That's the background I missed all the time! Thank you for making this clear. I almost guess one should stick the Message-ID somewhere since by next week (at maximum) the question will rise again about Samba ... :> OT: Is there some place I can read more about the SMB protocol and its NetBEUI transport? AFAIR RFC1001 and RFC1002 are specific to NBT. Searching for libsmb seems to give no (alive) hits. And everybody's talking about the original IBM TechRef which appeared in several editions in the early eighties, but I couldn't get my hands on a copy. Should I UTSL of smb-tcpdump or some related programs? virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you.