name_query failed: Samba 2.0.3
Patrick Gardella
patrick at cre8tivegroup.com
Wed Mar 24 11:06:40 GMT 1999
I'm stumped on getting Samba to work again on our small network. I've
got one Windows 95 machine that started to refuse to talk to Samba last
week. I *was* running one of the 1.9.18 releases, but when it stopped
working, I figured I would delete the old release and do a clean
install of 2.0.3. I've done that, and used SWAT to configure the
smb.conf file (which can be seen below). testparm smb.conf did not
return any errors.
I believe the problem is on the Windows side of things, but I don't
know where.
Some data on the setup:
Samba 2.0.3 running under FreeBSD 2.2.8-STABLE
Local network is 192.168.1.*
Samba server (AKA GATEWAY, AKA SERVER): 192.168.1.3
Windows machine (AKA LINDA): 192.168.1.7
Samba is set to be a WINS server and LINDA points to it.
lmhosts set to the above IPs.
Using DIAGNOSIS.txt, I can get to TEST 5, where by I get the following:
gateway# nmblookup -B LINDA '*'
Added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
Sending queries to 192.168.1.7
name_query failed to find name *
TEST 4 shows Samba running:
gateway# nmblookup -B SERVER __SAMBA__
Added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
Sending queries to 0.0.0.0
Got a positive name query response from 127.0.0.1 ( 192.168.1.3 )
192.168.1.3 __SAMBA__<00>
TEST 8 also fails with an Error 51.
Do I need to set Samba as the Domain Master Browser to get this to
work? (It's not been this much trouble before! I "dislike" windows...)
See below the smb.conf, log.smb and log.nmb files (Debug level 2).
Patrick
smb.conf:
# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 1999/03/24 10:35:20
# Global parameters
netbios aliases = GATEWAY
interfaces = 192.168.1.3/24
encrypt passwords = Yes
log level = 2
log file = /var/log/log.%m
dns proxy = No
wins support = Yes
guest account = pcguest
hosts allow = 192.168.1.7, 192.168.1.3, 127.0.0.
[/u2/www]
comment = WebServer
path = /u2/www
read only = No
guest ok = Yes
[tmp]
comment = temporary files
path = /tmp
[Laserwriter]
comment = Apple Laserwriter
path = /tmp
guest ok = Yes
print ok = Yes
log.smb:
[1999/03/24 10:21:57, 1] smbd/server.c:main(614)
smbd version 2.0.3 started.
Copyright Andrew Tridgell 1992-1998
[1999/03/24 10:21:57, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:21:57, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:21:57, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:21:57, 2] lib/interface.c:interpret_interfaces(176)
Added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[1999/03/24 10:21:57, 1] smbd/files.c:file_init(219)
file_init: Information only: requested 10000 open files, 1054 are
available.
[1999/03/24 10:21:57, 2] smbd/server.c:open_sockets(183)
waiting for a connection
[1999/03/24 10:22:00, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:22:00, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:22:00, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:22:00, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:22:06, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:22:06, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:22:06, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:22:06, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:14, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:33:14, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:33:14, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:33:14, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:14, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:14, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:33:14, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:33:14, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:33:14, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:14, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:17, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:33:17, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:33:17, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:33:17, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:17, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:17, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:33:17, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:33:17, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:33:17, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:17, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:22, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:22, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:22, 1] smbd/server.c:main(614)
smbd version 2.0.3 started.
Copyright Andrew Tridgell 1992-1998
[1999/03/24 10:33:22, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:33:22, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:33:22, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:33:22, 2] lib/interface.c:interpret_interfaces(176)
Added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[1999/03/24 10:33:22, 1] smbd/files.c:file_init(219)
file_init: Information only: requested 10000 open files, 1054 are
available.
[1999/03/24 10:33:22, 2] smbd/server.c:open_sockets(183)
waiting for a connection
[1999/03/24 10:33:25, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:25, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:25, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:25, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:47, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:47, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:33:47, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:33:47, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:22, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:35:22, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:35:22, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:35:22, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:22, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:22, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:35:22, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:35:22, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:35:22, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:22, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:24, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:35:24, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:35:24, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:35:24, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:24, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:24, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:35:24, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:35:24, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:35:24, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:24, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:27, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:27, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:27, 1] smbd/server.c:main(614)
smbd version 2.0.3 started.
Copyright Andrew Tridgell 1992-1998
[1999/03/24 10:35:27, 2] param/loadparm.c:do_section(2204)
Processing section "[/u2/www]"
[1999/03/24 10:35:27, 2] param/loadparm.c:do_section(2204)
Processing section "[tmp]"
[1999/03/24 10:35:27, 2] param/loadparm.c:do_section(2204)
Processing section "[Laserwriter]"
[1999/03/24 10:35:27, 2] lib/interface.c:interpret_interfaces(176)
Added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[1999/03/24 10:35:27, 1] smbd/files.c:file_init(219)
file_init: Information only: requested 10000 open files, 1054 are
available.
[1999/03/24 10:35:27, 2] smbd/server.c:open_sockets(183)
waiting for a connection
[1999/03/24 10:35:30, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:30, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:30, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:30, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:36, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:36, 2] smbd/server.c:main(702)
Changed root to /
[1999/03/24 10:35:36, 2] smbd/server.c:exit_server(406)
Closing connections
[1999/03/24 10:35:36, 2] smbd/server.c:exit_server(406)
Closing connections
log.nmb:
[1999/03/24 10:35:33, 1] nmbd/nmbd.c:main(672)
Netbios nameserver version 2.0.3 started.
Copyright Andrew Tridgell 1994-1998
[1999/03/24 10:35:33, 2] nmbd/nmbd.c:main(709)
Becoming a daemon.
[1999/03/24 10:35:33, 2] lib/interface.c:interpret_interfaces(176)
Added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[1999/03/24 10:35:33, 2] nmbd/nmbd_subnetdb.c:make_subnet(188)
making subnet name:192.168.1.3 Broadcast address:192.168.1.255 Subnet
mask:255.255.255.0
[1999/03/24 10:35:33, 2] nmbd/nmbd_subnetdb.c:make_subnet(188)
making subnet name:UNICAST_SUBNET Broadcast address:192.168.1.3
Subnet mask:192.168.1.3
[1999/03/24 10:35:33, 2] nmbd/nmbd_subnetdb.c:make_subnet(188)
making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0
Subnet mask:0.0.0.0
[1999/03/24 10:35:33, 2] nmbd/nmbd_subnetdb.c:make_subnet(188)
making subnet name:WINS_SERVER_SUBNET Broadcast address:0.0.0.0
Subnet mask:0.0.0.0
[1999/03/24 10:35:33, 0] nmbd/asyncdns.c:start_async_dns(150)
started asyncdns process 3185
[1999/03/24 10:40:52, 2]
nmbd/nmbd_elections.c:check_for_master_browser_fail(110)
check_for_master_browser_fail: Forcing election on workgroup
WORKGROUP subnet 192.168.1.3
[1999/03/24 10:41:03, 2] nmbd/nmbd_elections.c:send_election_dgram(47)
send_election_dgram: Sending election packet for workgroup WORKGROUP
on subnet 192.168.1.3
[1999/03/24 10:41:05, 2] nmbd/nmbd_elections.c:send_election_dgram(47)
send_election_dgram: Sending election packet for workgroup WORKGROUP
on subnet 192.168.1.3
[1999/03/24 10:41:07, 2] nmbd/nmbd_elections.c:send_election_dgram(47)
send_election_dgram: Sending election packet for workgroup WORKGROUP
on subnet 192.168.1.3
[1999/03/24 10:41:09, 2] nmbd/nmbd_elections.c:send_election_dgram(47)
send_election_dgram: Sending election packet for workgroup WORKGROUP
on subnet 192.168.1.3
[1999/03/24 10:41:11, 2] nmbd/nmbd_elections.c:send_election_dgram(47)
send_election_dgram: Sending election packet for workgroup WORKGROUP
on subnet 192.168.1.3
[1999/03/24 10:41:11, 2] nmbd/nmbd_elections.c:run_elections(211)
run_elections: >>> Won election for workgroup WORKGROUP on subnet
192.168.1.3 <<<
[1999/03/24 10:41:11, 2]
nmbd/nmbd_become_lmb.c:become_local_master_browser(551)
become_local_master_browser: Starting to become a master browser for
workgroup WORKGROUP on subnet 192.168.1.3
[1999/03/24 10:41:19, 0]
nmbd/nmbd_become_lmb.c:become_local_master_stage2(406)
*****
Samba name server GATEWAY is now a local master browser for workgroup
WORKGROUP on subnet 192.168.1.3
*****
[1999/03/24 10:41:19, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(362)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the
workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
[1999/03/24 10:56:32, 0]
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(362)
find_domain_master_name_query_fail:
Unable to find the Domain Master Browser name WORKGROUP<1b> for the
workgroup WORKGROUP.
Unable to sync browse lists in this workgroup.
---
Patrick S. Gardella Director of Web Development
The Creative Group 1-800-804-0783 ext 29 606-858-8029 (fax)
http://www.cre8tivegroup.com PGP Key ID 0xEE2D47A9
More information about the samba
mailing list