daryn
2005-Jul-29 13:42 UTC
[Samba] problems with Windows XP clients becoming local master?
Hi there. First time posting to this but I'm getting desperate so apologies
for any netiquette faux pas...
I'm running a Suse box with Samba on it, with Windows XP SP2 clients viewing
it in a workgroup. Some pc's are having timeouts when attempting to view a
network share though. In the logs, sometimes at the same time as the
timeouts, this appears:
[2005/07/28 13:19:08, 0]
nmbd/nmbd_incomingdgrams.c:process_local_master_announce(311)
process_local_master_announce: Server PCSTEVE at IP 192.168.0.204 is
announcing itself as a local master browser for workgroup WORKGROUP and we
think we are master. Forcing election.
[2005/07/28 13:19:08, 0] nmbd/nmbd_become_lmb.c:unbecome_local_master_success
(149)
*****
Samba name server WORKGROUPSHARE has stopped being a local master browser
for workgroup WORKGROUP on subnet 192.168.0.10
*****
[2005/07/28 13:19:26, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2
(396)
*****
Samba name server WORKGROUPSHARE is now a local master browser for
workgroup WORKGROUP on subnet 192.168.0.10
*****
And thus it carries on until someone else on the network tries to take over.
On the net, there are loads of people querying this but mostly either samba v
samba conflicts (solved by making one master and one not) or other windows
conflicts (solved by raising the os level). The os level of this server is
already at 65 when an XP client is apparently at 16. At no point should samba
give up (even for a second, as I understand it) it's master browser rights
to
an XP client. The smb.conf is listed below in part. Can anyone PLEASE shed
light on this since this is driving me nuts and users are complaining of slow
access to files on the WORKGROUPSHARE samba box's share.
Thanks very much
Steve
smb.conf (in part) follows:
[global]
workgroup = WORKGROUPSHARE
netbios name = WORKGROUPSHARE
server string = PAH Network Share
interfaces = 127.0.0.1, eth0
bind interfaces only = Yes
security = SHARE
map to guest = Bad User
add machine script = /usr/sbin/useradd -c Machine -
d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
ldap suffix = dc=pahltd,dc=com
printer admin = @ntadmin, root, administrator
Vickie L. Kidder
2005-Jul-29 13:59 UTC
[Samba] problems with Windows XP clients becoming local master?
You can prevent Windows XP clients from trying to become the master
browser by changing this registry setting.
HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Services > Browser
>
Parameters MaintainServerList
Default value is "Auto". Change value to "No" and reboot
machine.
"daryn" <daryn@steelsword.org.uk>
Sent by: samba-bounces+vlkidder=tabasco.com@lists.samba.org
07/29/2005 08:36 AM
To
samba@lists.samba.org
cc
Subject
[Samba] problems with Windows XP clients becoming local master?
Hi there. First time posting to this but I'm getting desperate so
apologies
for any netiquette faux pas...
I'm running a Suse box with Samba on it, with Windows XP SP2 clients
viewing
it in a workgroup. Some pc's are having timeouts when attempting to view a
network share though. In the logs, sometimes at the same time as the
timeouts, this appears:
[2005/07/28 13:19:08, 0]
nmbd/nmbd_incomingdgrams.c:process_local_master_announce(311)
process_local_master_announce: Server PCSTEVE at IP 192.168.0.204 is
announcing itself as a local master browser for workgroup WORKGROUP and we
think we are master. Forcing election.
[2005/07/28 13:19:08, 0]
nmbd/nmbd_become_lmb.c:unbecome_local_master_success
(149)
*****
Samba name server WORKGROUPSHARE has stopped being a local master
browser
for workgroup WORKGROUP on subnet 192.168.0.10
*****
[2005/07/28 13:19:26, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2
(396)
*****
Samba name server WORKGROUPSHARE is now a local master browser for
workgroup WORKGROUP on subnet 192.168.0.10
*****
And thus it carries on until someone else on the network tries to take
over.
On the net, there are loads of people querying this but mostly either
samba v
samba conflicts (solved by making one master and one not) or other windows
conflicts (solved by raising the os level). The os level of this server is
already at 65 when an XP client is apparently at 16. At no point should
samba
give up (even for a second, as I understand it) it's master browser rights
to
an XP client. The smb.conf is listed below in part. Can anyone PLEASE shed
light on this since this is driving me nuts and users are complaining of
slow
access to files on the WORKGROUPSHARE samba box's share.
Thanks very much
Steve
smb.conf (in part) follows:
[global]
workgroup = WORKGROUPSHARE
netbios name = WORKGROUPSHARE
server string = PAH Network Share
interfaces = 127.0.0.1, eth0
bind interfaces only = Yes
security = SHARE
map to guest = Bad User
add machine script = /usr/sbin/useradd -c Machine -
d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
ldap suffix = dc=pahltd,dc=com
printer admin = @ntadmin, root, administrator
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Chris
2005-Jul-29 14:13 UTC
[Samba] problems with Windows XP clients becoming local master?
On Friday 29 July 2005 09:36 am, daryn wrote: Are these two items:> ? ? ? ? domain logons = Yes > ? ? ? ? domain master = Yesreally even valid or useful in security-share mode? There a comment about this in the smb.conf man page:> preferred master = YesMaybe leaving it at the default (auto) is better. Chris
Louis van Belle
2005-Jul-29 14:24 UTC
[Samba] problems with Windows XP clients becoming local master?
Sorry for that, if you use only secure share dont set the domain logons and the domain master. next time ill read better ;-) i think my pain killers are working.. u CAN use preferred master = yes though, somebody correct me if im wrong.>-----Oorspronkelijk bericht----- >Van: samba-bounces+louis=van-belle.nl@lists.samba.org >[mailto:samba-bounces+louis=van-belle.nl@lists.samba.org] Namens Chris >Verzonden: vrijdag 29 juli 2005 16:13 >Aan: samba@lists.samba.org >Onderwerp: Re: [Samba] problems with Windows XP clients >becoming local master? > >On Friday 29 July 2005 09:36 am, daryn wrote: > >Are these two items: > >> ? ? ? ? domain logons = Yes >> ? ? ? ? domain master = Yes > >really even valid or useful in security-share mode? > >There a comment about this in the smb.conf man page: > >> preferred master = Yes > >Maybe leaving it at the default (auto) is better. > >Chris >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba >