Am Mi, den 10.03.2004 schrieb Mario St-Gelais um 18:36: > Alexander Dalloz wrote: > > >If your samba machine is running continuously then set: > > > >local master = yes > >os level = 65 > >preferred master = yes > > > >This way - after service smb restart - your Samba server should win > >master browser election against each Windows[tm] machine in you LAN. If > >you have more Samba machines you have to choose one machine to be local > >master and the others to be not. All options are commented inside > >smb.conf and in the Samba docs. > > > >Alexander > Here is what I get now form system log after making your suggested > changes. So I assume that is working... > > Mar 10 12:39:45 P2 nmbd[12025]: [2004/03/10 12:39:45, 0] > nmbd/nmbd_incomingdgrams.c:process_local_master_announce(311) > Mar 10 12:39:45 P2 nmbd[12025]: process_local_master_announce: Server > LAPTOP at IP 192.168.0.141 is announcing itself as a local master > browser for workgroup LOCALDOMAIN and we think we are master. Forcing > election. The XP machines tries to become master browser. > Mar 10 12:39:45 P2 nmbd[12025]: [2004/03/10 12:39:45, 0] > nmbd/nmbd_become_lmb.c:unbecome_local_master_success(149) > Mar 10 12:39:45 P2 nmbd[12025]: Samba name server P2 has stopped being > a local master browser for workgroup LOCALDOMAIN on subnet 192.168.0.177 XP did win the election. > Mar 10 12:40:02 P2 nmbd[12025]: [2004/03/10 12:40:02, 0] > nmbd/nmbd_become_lmb.c:become_local_master_stage2(396) > Mar 10 12:40:02 P2 nmbd[12025]: Samba name server P2 is now a local > master browser for workgroup LOCALDOMAIN on subnet 192.168.0.177 Finally the Samba machine got his master role back again. > But now (and before those changes) when I try to access my linux machine > from my win lap top, I get the message that says cannot find path > \\p2\opt. p2 being the name of the Linux machine. It used to work, but > now for some reaons, it doesn't. smbclient -L localhost on the Samba machine reports a working Samba and shares? You do not have to force Samba to be the local master browser. If it is for your environment better to let XP take this role then let it go. Also care that reannouncing of the browse list can take up to 12 minutes. Alexander -- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl Sirendipity 19:54:05 up 1 day, 20:13, load average: 0.04, 0.09, 0.18 [ ÎÎÏÎÎ Ï'ÎÏÏÎÎ - gnothi seauton ] my life is a planetarium - and you are the stars