Thomas Beer wrote:>
> Hi,
>
> I'm running Samba successfully on two M$-Clients.
> Now I wanted to add a third one - also an M$.
> File and print sharing works normally, but I can't
> check my mails or surf. The nmdb is very strange. Why
> is the name request for cnn.com in the nmdb log?
> Please cc: me on all replys, I'm currently not on the list.
> Thanks in advance Tom
>
> ------------------------- snip
> [2001/02/22 18:36:17, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(466)
> process_name_query_request: Name query from 192.168.1.5 on subnet
192.168.1.1 for name DAEMON<20>
> [2001/02/22 18:36:17, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(603)
> OK
> [2001/02/22 18:37:46, 3]
nmbd/nmbd_incomingdgrams.c:process_host_announce(117)
> process_host_announce: from UNIT<00> IP 192.168.1.5 to
SYSTEM<1d> for server UNIT.
> [2001/02/22 18:37:46, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(458)
> write_browse_list: Wrote browse list into file /var/lock/samba/browse.dat
> [2001/02/22 18:37:56, 3]
nmbd/nmbd_sendannounce.c:send_local_master_announcement(176)
> send_local_master_announcement: type c9b0b for name DAEMON on subnet
192.168.1.1 for workgroup SYSTEM
> [2001/02/22 18:37:56, 3]
nmbd/nmbd_sendannounce.c:send_workgroup_announcement(195)
> send_workgroup_announcement: on subnet 192.168.1.1 for workgroup SYSTEM
> [2001/02/22 18:40:06, 2] lib/interface.c:add_interface(83)
> added interface ip=192.168.1.1 bcast=192.168.1.15 nmask=255.255.255.240
> [2001/02/22 18:40:06, 3] lib/interface.c:add_interface(63)
> not adding duplicate interface 192.168.1.1
> [2001/02/22 18:40:16, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request(466)
> process_name_query_request: Name query from 192.168.1.6 on subnet
192.168.1.1 for name WWW.CNN.COM<00>
This is rather weird behaviour of some versions of Win9X. In these
version the 'gethostbyname' function attempts to find the name on the
local network before (or after, I'm not entirly sure) using DNS. The
best way to deal with this is to run samba as a wins server (using
TCP/IP properties to set the WINS server on the clients), and to set dns
proxy = yes in smb.conf.
Hope this explains things,
Andrew Bartlett
abartlet@pcug.org.au
--
Andrew Bartlett
abartlet@pcug.org.au