{
   # If there is a WINSServer set and it is not this system, we 
   # shouldn't be domain master, even if we're configured to be.

   my $domainMaster = $SMB_DomainMaster;

   if (defined $SMB_WINSServer)
   {
       $domainMaster = 'no' unless ($SMB_WINSServer eq $LocalIP);
   }

   return "domain master = $domainMaster";
}
