Bug 3054 - WinXP SP2 machines disappear from the workgroup
WinXP SP2 machines disappear from the workgroup
Product: Samba 3.0
Classification: Unclassified
Component: nmbd
All Linux
: P3 major
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-09-01 05:08 UTC by Aiko Barz
Modified: 2005-09-06 03:58 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Aiko Barz 2005-09-01 05:08:28 UTC
The problem is perfectly described in the URL. Win XP doesn't send host
announcements like it should [1], even if you edit "announce" and "anndelta" in
the registry. [2]

[2] http://support.microsoft.com/default.aspx?scid=kb;EN-US;q138365

It would be nice if you can tell samba to keep the entries in browse.dat for at
least $time seconds.
Comment 1 Aiko Barz 2005-09-06 03:24:04 UTC
Btw, this is an old problem:

There are some more sites. Win XP seems to disappear in a pure Microsoft
environment as well sometimes.
Comment 2 Aiko Barz 2005-09-06 03:35:17 UTC
I solved my problem so far. I found out, that WinXP at least[1] reacts to "Host
Announcement Requests". Samba generates them while restarting. Samba does it too
after winning the LMB contest IF there are less than 10 computers in the
workgroup. So I patched[2] my samba server and added "smbcontrol nmbd
force-election" to my crontab. This gets done every 10 minutes. Now, WinXP does
not disappear anymore. This is really ugly...

[1] WinXP ignores quite some registry workarounds...
[2] I have more than 10 computers in my workgroup.
Comment 3 Gerald (Jerry) Carter 2005-09-06 03:58:04 UTC
WinXP client bug.