[Samba] Purging Windows cache after NetBIOS namechange?

Gilles gilles.ganault at free.fr
Thu Jul 29 03:02:05 MDT 2010


On Thu, 29 Jul 2010 10:31:58 +0200, Gilles <gilles.ganault at free.fr>
wrote:
>XP(SP3) seems to take a long time to update its list of shares after
>changing the NetBIOS name used in Samba (eg. going from "LINUX" to
>"UBUNTU").

Apparently, it's not a cache issue but something else.

In smb.conf, after adding "log level = 3", /var/log/samba/log.nmbd
says that Samba adds both (previous NetBIOS name) "LINUX" and (current
name) "UBUNTU":

============
[2010/07/29 10:47:42,  0] nmbd/nmbd.c:854(main)
  nmbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[...]
	 add_name_to_subnet: Added netbios name UBUNTU<03> with first IP
192.168.0.8 ttl=258293 nb_flags=66 to subnet WINS_SERVER_SUBNET

[2010/07/29 10:47:42,  3]
nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name UBUNTU<20> with first IP
192.168.0.8 ttl=258293 nb_flags=66 to subnet WINS_SERVER_SUBNET

[2010/07/29 10:47:42,  3]
nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name LINUX<00> with first IP
192.168.0.8 ttl=256220 nb_flags=66 to subnet WINS_SERVER_SUBNET

[2010/07/29 10:47:42,  3]
nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name WORKGROUP<00> with first IP
0.0.0.0 ttl=258293 nb_flags=e4 to subnet WINS_SERVER_SUBNET

[2010/07/29 10:47:42,  3]
nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name UBUNTU<00> with first IP
192.168.0.8 ttl=258293 nb_flags=66 to subnet WINS_SERVER_SUBNET

[2010/07/29 10:47:42,  3]
nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name LINUX<03> with first IP
192.168.0.8 ttl=256220 nb_flags=66 to subnet WINS_SERVER_SUBNET

[2010/07/29 10:47:42,  3]
nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name WORKGROUP<1e> with first IP
0.0.0.0 ttl=258293 nb_flags=e4 to subnet WINS_SERVER_SUBNET

[2010/07/29 10:47:42,  3]
nmbd/nmbd_namelistdb.c:250(add_name_to_subnet)
  add_name_to_subnet: Added netbios name LINUX<20> with first IP
192.168.0.8 ttl=256220 nb_flags=66 to subnet WINS_SERVER_SUBNET
============

Why does it add "LINUX", although it's not mentionned in
/etc/samba/smb.conf?

Here's smb.conf:
============
[global]
workgroup = WORKGROUP
;investigating netbios name = LINUX
netbios name = UBUNTU
server string = Samba Server %v

security = user
guest account = nobody

dns proxy = no
wins support = yes
remote announce = 192.168.0.255

log level = 3
============

Thank you.



More information about the samba mailing list