[Samba] 'Not listening for calling name'

Vicky Clarke vclarke at frontier.co.uk
Wed Jul 10 10:14:02 GMT 2002


At 07:39 10/07/2002 -0400, you wrote:

>Have you just tried the expedient of putting the appropriate address in
>/etc/hosts (If it is not there already)
>and then using the "-R host"  option with smbclient. (This seems to be your
>default lookup method, according to your error messages.)
>Or, putting the client into your lmhosts file on the samba server and using
>the "-R lmhosts" option?
>If either of these work, then you could change the lookup sequence in your
>smb.conf global section, eg.
>
>         name resolve order = lmhosts wins bcast host

Hmm. I've tested all four of these options with smbclient -R and they all 
fail in some way. WINS and bcast get a positive name query response and the 
same 'calling name' error. Also, I've just discovered that any Windows 
client that isn't logged in as me (ie. doesn't have a UNIX account on the 
server) gets 'The network path cannot be found' when trying to connect to 
any share.

So it's definitely some freak of the DNS/netBIOS interaction. I found these 
rather bizarre-looking entries in my nmbd log:

added interface ip=172.17.1.3 bcast=172.17.3.255 nmask=255.255.252.0
                    ^^^^^^^^^^       ^^^^^^^^^^^^
making subnet name:172.17.1.3 Broadcast address:172.17.3.255 Subnet 
mask:255.255.252.0
                    ^^^^^^^^^^                   ^^^^^^^^^^^^

This is the latest chunk of log.nmbd. I can't set domain master browser 
since we have an NT4 PDC..

   process_name_registration_request: Name registration for name SAMBA<03> 
IP 172
.17.1.3 on subnet 172.17.1.3
[2002/07/09 18:06:33, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(237)
   find_response_record: response packet id 8334 received with no matching 
record
.
[2002/07/09 18:06:33, 3] nmbd/nmbd_packets.c:find_subnet_for_nmb_packet(1437)
   find_subnet_for_nmb_packet: response record not found for response id 8334
[2002/07/09 18:06:33, 3] 
nmbd/nmbd_incomingrequests.c:process_name_registration_
request(237)
   process_name_registration_request: Name registration for name SAMBA<00> 
IP 172
.17.1.3 on subnet 172.17.1.3
[2002/07/09 18:06:33, 0] 
nmbd/nmbd_responserecordsdb.c:find_response_record(237)
   find_response_record: response packet id 8335 received with no matching 
record
.
[2002/07/09 18:06:33, 3] nmbd/nmbd_packets.c:find_subnet_for_nmb_packet(1437)
   find_subnet_for_nmb_packet: response record not found for response id 8335
[2002/07/09 18:06:33, 3] 
nmbd/nmbd_incomingrequests.c:process_name_registration_
request(237)
   process_name_registration_request: Name registration for name 
DOMAIN1<00> IP 1
72.17.1.3 on subnet 172.17.1.3
[2002/07/09 18:06:33, 3] 
nmbd/nmbd_incomingrequests.c:process_name_registration_
request(237)
   process_name_registration_request: Name registration for name 
DOMAIN1<1e> IP 1
72.17.1.3 on subnet 172.17.1.3
[2002/07/09 18:06:53, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(449)
   write_browse_list: Wrote browse list into file //var/lib/samba/browse.dat
[2002/07/09 18:07:43, 3] nmbd/nmbd_sendannounce.c:send_host_announcement(217)
   send_host_announcement: type 9b03 for host SAMBA on subnet 172.17.1.3 
for work
group DOMAIN1
[2002/07/09 18:08:13, 0] nmbd/nmbd.c:sig_hup(91)
   Got SIGHUP dumping debug info.
[2002/07/09 18:08:13, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(290)
   dump_workgroups()
    dump workgroup on subnet      172.17.1.3: netmask=  255.255.252.0:
         DOMAIN1(1) current master browser = UNKNOWN
                 SAMBA 40009b03 (Samba 2.2.3a)
[2002/07/09 18:08:13, 0] nmbd/nmbd_workgroupdb.c:dump_workgroups(290)
   dump_workgroups()
    dump workgroup on subnet  UNICAST_SUBNET: netmask=     172.17.1.2:
         DOMAIN1(1) current master browser = UNKNOWN
                 SAMBA 40009b03 (Samba 2.2.3a)
[2002/07/09 18:08:13, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(449)
   write_browse_list: Wrote browse list into file //var/lib/samba/browse.dat
[2002/07/09 18:08:13, 3] param/loadparm.c:init_globals(1221)
   Initialising global parameters
[2002/07/09 18:08:13, 3] param/params.c:pm_process(577)
   params.c:pm_process() - Processing configuration file "//etc/samba/smb.conf"
[2002/07/09 18:08:13, 3] param/loadparm.c:do_section(2948)
   Processing section "[global]"
[2002/07/09 18:08:13, 1] lib/debug.c:debug_message(250)
   INFO: Debug class all level = 3   (pid 18016 from pid 18016)

/var/lib/samba/browse.dat contains:

"DOMAIN1"                 c0001000 ""                            "DOMAIN1"
"SAMBA"                   40009b03 "Samba 2.2.3a"                "DOMAIN1"

Thanks,
Vicky Clarke








More information about the samba mailing list