All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael <mutk@iprimus.com.au>
To: netfilter@lists.netfilter.org
Subject: Re: Samba blocked?
Date: Wed, 27 Nov 2002 13:22:07 +1000	[thread overview]
Message-ID: <3DE43A5F.3070909@iprimus.com.au> (raw)
In-Reply-To: 002101c295be$881c5c00$1e00a8c0@yamatto

Dan Egli wrote:

>Ok. I found the lookup order as:
>wins lmhosts bcast
>
>Which is how a windows client would connect. (except it would read lmhosts
>first). This needs to work not only for
>smbclient but also for any windows machines in the 192.168.0.x network. And
>adding a lmhosts to each machine is not really an option except as an
>absolute last resort.
>
>I need the system to be able to resolve netbios names via broadcast if at
>all possible. I still don't see why a request to 192.168.0.255 would fail.
>
>Here's the log fragments when I run smbclient //myserver/shared1 -U myuser:
>(resolve order = wins lmhosts bcast)
>
>Nov 26 20:33:22 mail last message repeated 2 times
>
>Nov 26 20:34:03 mail kernel: IN=lo OUT=
>MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=127.0.0.1 DST=127.0.0.1
>LEN=78 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=32814 DPT=137 LEN=58
>Nov 26 20:34:07 mail last message repeated 2 times
>Nov 26 20:34:09 mail kernel: IN=lo OUT=
>MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=192.168.0.2
>DST=192.168.0.2 LEN=90 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=137
>DPT=32814 LEN=70
>Nov 26 20:34:10 mail last message repeated 2 times
>Nov 26 20:34:10 mail kernel: IN=lo OUT=
>MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00 SRC=64.122.31.38
>DST=64.122.31.38 LEN=90 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=UDP SPT=137
>DPT=32814 LEN=70
>
>Any ideas, anyone?
>


The logs are IN=lo. You have no rules to match interface lo.  Are you 
running smbclient from local? You need iptables rules to allow from lo 
too....

Sorry I didn't think of this before...

Cheers,
Michael



  reply	other threads:[~2002-11-27  3:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-26 21:05 Samba blocked? Dan Egli
2002-11-27  0:00 ` Robert Wideman
2002-11-27  1:14 ` Michael
2002-11-27  2:31   ` Dan Egli
2002-11-27  3:12     ` Michael
2002-11-27  2:41   ` Dan Egli
2002-11-27  3:22     ` Michael [this message]
2002-11-27  3:53       ` Dan Egli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DE43A5F.3070909@iprimus.com.au \
    --to=mutk@iprimus.com.au \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.