[Samba] NMB problem

Joel Hammer Joel at HammersHome.com
Sun Jun 30 14:38:02 GMT 2002


I use 192.168.0.255 without trouble on my home network.
What happens when you don't used the -B option?
There is a nice option with smbclient, -R, which allows you to specifiy
which means is used to look up the client, bcast, wins, lmhosts, host (dns)
You might fool with that a bit.
Joel

On Mon, Jul 01, 2002 at 06:45:25AM +1000, Steve Hayes wrote:
> Con,
> 
> Thanks very much for this suggestion. I've changed the network to start
> from 192.168.1.0. However, the problem remains as previously described
> (with a different number for the subnet *s*).
> 
> Can anyone provide any further suggestions?
> 
> Thanks,
> Steve 
> 
> On Sat, 2002-06-29 at 21:16, Con Harte wrote:
> > Hi Steve,
> > 
> > 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.
> > Con.
> > 
> > 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 )
> > >192.168.0.5 DEMENTIA<00>
> > >
> > >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
> > >suggestion?
> > >
> > >Regards,
> > >--
> > >Steve Hayes
> > >Khatovar Technology Pty. Ltd.
> > >steve at khatovartech.com
> > >Home: +61-3-9489 0860
> > >Mobile: +61-403-902-431
> > >http://www.khatovartech.com
> > >
> > >
> > >--
> > >To unsubscribe from this list go to the following URL and read the
> > >instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> -- 
> Steve Hayes
> Khatovar Technology Pty. Ltd.
> steve at khatovartech.com
> Home: +61-3-9489 0860
> Mobile: +61-403-902-431
> http://www.khatovartech.com
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> Con,
> 
> Thanks very much for this suggestion. I've changed the network to start
> from 192.168.1.0. However, the problem remains as previously described
> (with a different number for the subnet *s*).
> 
> Can anyone provide any further suggestions?
> 
> Thanks,
> Steve 
> 
> On Sat, 2002-06-29 at 21:16, Con Harte wrote:
> > Hi Steve,
> > 
> > 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.
> > Con.
> > 
> > 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 )
> > >192.168.0.5 DEMENTIA<00>
> > >
> > >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
> > >suggestion?
> > >
> > >Regards,
> > >--
> > >Steve Hayes
> > >Khatovar Technology Pty. Ltd.
> > >steve at khatovartech.com
> > >Home: +61-3-9489 0860
> > >Mobile: +61-403-902-431
> > >http://www.khatovartech.com
> > >
> > >
> > >--
> > >To unsubscribe from this list go to the following URL and read the
> > >instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> > 
> > -- 
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > 
> -- 
> Steve Hayes
> Khatovar Technology Pty. Ltd.
> steve at khatovartech.com
> Home: +61-3-9489 0860
> Mobile: +61-403-902-431
> http://www.khatovartech.com
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list