Basic browsing problem

Praise praisetazio at tiscalinet.it
Fri Jan 25 09:28:02 GMT 2002


> That's quite common: go to
> http://www.oreilly.com/catalog/samba/chapter/book/ch09_02.html
> and work through the diagnosis process (it takes about 10
> minutes) from teh start, so you aren't missing something
> that browsing depends on.
>

Ok! 
smbclient -L Main works properly, so I can browse with LinNeighborhood.

nmbclient, instead fails miserably. I have tried the examples on the book, 
and it only works if I use nmblookup -B 192.168.0.0 <Some computer's name>
Here it is the example:

root at main:/usr/local/samba/bin > ./nmblookup -B MAIN ANARKI
INFO: Debug class all level = 2   (pid 12784 from pid 12784)
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
querying ANARKI on 10.0.0.1
name_query failed to find name ANARKI

root at main:/usr/local/samba/bin > ./nmblookup -B 192.168.0.0 ANARKI
INFO: Debug class all level = 2   (pid 12752 from pid 12752)
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
querying ANARKI on 192.168.0.0
Got a positive name query response from 192.168.0.3 ( 192.168.0.3 )
192.168.0.3 ANARKI<00>

If I use 192.168.0.1 it fails. is this the correct way to use nmblookup?

On clients it works as the book says. And network broadcasting works well too.

So, the problem is with nmbd, and nmbd is running:

root     12661  0.0  1.8  2304 1152 ?        S    17:47   0:00 
/usr/local/samba/bin/nmbd -D
root     12662  0.0  1.4  2248  876 ?        S    17:47   0:00 
/usr/local/samba/bin/nmbd -D

So, how to solve the problem? I have already followed the advices on the book 
without solving anything!

Praise




More information about the samba mailing list