[Samba] NMB problem
sysadmin at gfm.co.uk
Sat Jun 29 04:17:03 GMT 2002
Some systems (especially routers) will not use Subnet Zero by default.
If at all possible in your setup try starting you IP networks from
192.168.1.0 and so on. This may not be the cause of your problems,
but making this change will be the most future-proof and compatible
way of numbering your networks.
At the very least I would suggest changing the IP address temporarily
on the Samba machine only.
I haven't read the source for nmbd but it is possible that even if
all systems on your network understand the broadcast address of
192.168.0.255, it could be the case that nmbd has a bug in it regarding
this particular subnet zero issue.
Hope that helps.
At 10:16 29/06/02, you wrote:
>I'm configuring Samba on a Red Hat Linux 7.2 server, for access from a
>Windows 2000 client. My server name is DEMENTIA, and it's IP address is
>192.168.0.5. I've confirmed with ifconfig that the server's broadcast
>address is 192.168.0.255.
>I'm having a problem with NMB that I seem to have isolated to the
>following symptoms -
>After starting NMBD, I can lookup the server name using unihost:
>nmblookup -U 192.168.0.5 DEMENTIA
>Querying DEMENTIA on 192.168.0.5
>Got a positive name query response from 192.168.0.5 ( 192.168.0.5 )
>But when I try to do the equivalent operation via the broadcast address
>the lookup fails
>nmblookup -B 192.168.0.255 DEMENTIA
>Querying DEMENTIA on 192.168.0.255
>name_query failed to find name DEMENTIA<00>
>The unihost example seems to indicate that NMB is up and running. I
>can't find any errors in the logs. I suspect that there's some
>configuration option in smb.conf that I'm either setting or not setting
>correctly, but I can't figure out which ones.
>I set "bind interfaces only = no", as I saw some documentation that
>indicated this might be related.
>My hosts allow = 192.168.0.255 192.168. 127.
>At this stage I don't know where to look next. Can anyone make a
>Khatovar Technology Pty. Ltd.
>steve at khatovartech.com
>Home: +61-3-9489 0860
>To unsubscribe from this list go to the following URL and read the
More information about the samba