RH7.2&&smbd2.2.1a&&W98/2000&&Connection Problem

Joel Hammer Joel at HammersHome.com
Thu Dec 20 12:57:07 GMT 2001


Two things to try:
1. Walk through the DIAGNOSIS.txt in doc/textdocs
2. Try adding -d3 to the smbclient command when you try to connect, and see
what is going on.
Here is what I get when I use an invalid name, that is to say, this is
neither a nebios name nor is it in my DNS:
(hamer is invalid)
jlh at jhammer6 jlh]$ smbclient  \\\\hamer\\ps -d3
INFO: Debug class all level = 3   (pid 9155 from pid 9155)
added interface ip=192.168.0.6 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=192.168.1.6 bcast=192.168.1.255 nmask=255.255.255.0
Client started (version 2.2.1a).
resolve_lmhosts: Attempting lmhosts lookup for name hamer<0x20>
resolve_hosts: Attempting host lookup for name hamer<0x20>
resolve_wins: Attempting wins lookup for name hamer<0x20>
resolve_wins: WINS server == <127.0.0.1>
bind succeeded on port 0
Negative name query response, rcode 0x03: The name requested does not exist.
name_resolve_bcast: Attempting broadcast lookup for name hamer<0x20>
bind succeeded on port 0
Connection to hamer failed                
Note: When it tries resolv_hosts, it is checking the local host for the name
you typed for the server. What the local host does depends on what is in
/etc/hosts/ /etc/resolv.conf, and /etc/nsswitch.confi. My host checks
/etc/hosts, then nis, and then DNS. 
You could put the smbd server in your /etc/hosts file, and that might solve
your problem. Or, in the lmhosts file, if you are coming from windows.
Joel
On Thu, Dec 20, 2001 at 09:28:39AM -0500, Gerard wrote:
> Hello all!
> 
>    I've readed somes docs and I found nothing about the
> following trouble : I can't connect to my sbmd server using
> the following : '\\MYRH72SMBDSERVERNAME\'.  I always got
> a error message like : 'Share name could not be found, make
> sure you typed it correctly....' , but if I utilize \\10.x.x.x\ all is
> working fine (I don't want to access using the \\IP\ way... )
> 
>    Our DNS didn't use our samba name, but use something like
> that : static52.domainname.com .  It's a NMBD bug (I think not...
> but I don't really know... )? Did I miss something ? (hehE)
> 
> Thx in advance ;)
> 




More information about the samba mailing list