[Samba] session request to *SMBSERVER failed (Called name not present).

Matthew Gavin matt at tempo.com.au
Thu Oct 10 23:23:01 GMT 2002


Hi all, I have a Solaris 2.7 host with a recent install of samba-2.2.2.
I am using an smb.conf from a simmilar host that works perfectly. I
can't seem to connect to the host with Samba. I am getting:

##########

//g4syd/usr/local/samba/bin 634 # smbclient -d 4 -L g4syd
added interface ip=10.1.5.7 bcast=10.1.5.255 nmask=255.255.255.0
Client started (version 2.2.2).
resolve_hosts: Attempting host lookup for name g4syd<0x20>
Connecting to 10.1.5.7 at port 139
session request to G4SYD failed (Called name not present)
resolve_hosts: Attempting host lookup for name g4syd<0x20>
Connecting to 10.1.5.7 at port 139
session request to *SMBSERVER failed (Called name not present)

##########

All I need to do is create a simple /tmp share with no security
whatsoever. I have checked the FAQ's, searched the web, re-installed a
number of Samba packages and no matter what happens the error is the
same. What gets me is that it works with localhost:

##########

//g4syd/usr/local/samba/lib 579 # smbclient -d4 -L localhost
added interface ip=10.1.5.7 bcast=10.1.5.255 nmask=255.255.255.0
Client started (version 2.2.2).
resolve_hosts: Attempting host lookup for name localhost<0x20>
Connecting to 127.0.0.1 at port 139
 session request ok
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.2.2]
 session setup ok
 tconx ok

##########

[GLobal]
   workgroup = workgroup
   netbios name = g4syd
   server string = g4syd
   hosts allow = 10. 127.

/etc/hosts:

127.0.0.1      localhost
10.1.5.7        g4syd g4syd.tempo-services.com.au
10.1.5.7        g4syd
10.1.5.7        G4SYD

/etc/nsswitch.conf:

hosts:      files dns

/etc/resolv.conf:

domain tempo-services.com.au
nameserver 10.1.1.2
nameserver 10.1.1.10

Any ideas on where I go from here?

Matthew Gavin
Tempo Services Limited
http://www.tempo.com.au
mailto:matt at tempo.com.au




More information about the samba mailing list