[Samba] Re: WINS server looses election irregular in a
timomeinen at googlemail.com
Mon Jun 23 07:42:22 GMT 2008
thank you for the script. I will use it to "solve" my problem. I
searched for a command, which restarts an election.
Although it's not really a good solution, it is much better than my
> Same issue.
> I put the following in cron:
> nmblookup -M -- - 2>&1 | grep "IP address of my samba server" >/dev/null 2>&1
> if [ $? != 0 ]; then
> nmblookup -M -- -|mail -s "Force master browser election" "my email"
> /usr/bin/smbcontrol nmbd force-election
> The smbcontrol command has the same effect as restarting samba
> (election is won).
> Then I tell the person using the PC I see in the email to turn off the
> "browser" service in his/her XP to avoid the same issue in the future.
> giulioo at pobox.com
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
More information about the samba