Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article

   LinuxPlanet / Tutorials







Sharing a Samba File and Print Server Across Subnets, Part 2
Linux Clients and Masters

Carla Schroder
Thursday, January 17, 2008 12:37:59 PM

You need one local master browser per subnet. The various Windowses on a subnet will duke it out amongst themselves for who gets to be the master browser. If you prefer more correct terminology, Windows calls it the Computer Browser Service, and if there is more than one Windows PC they will have elections every 15 minutes or so to elect a master browser. The newest Windows usually wins, and its address is reported to WINS. You can turn this off in Control Panel | Administrative Tools | Computer Browser, but it's not necessary unless you're trying to isolate a problem. Leaving it enabled in all of your Windows PCs means you'll always have a LMB available.

You may prefer to use Samba as a LMB. All you need is a Linux PC running Samba server, and this smb.conf:

[global]
   netbios name = freya
   security = share
   domain master = no
   preferred master = yes
   local master = yes
   wins support =no
   wins proxy = no
   wins server = 192.168.1.10
   os level = 65
That's all you need; you don't need to define any other shares. The preferred master directive forces an election when Samba starts up, and setting the os level to 65 ensures that it will always win elections.

You don't need a Samba LMB when you have Windows PCs on the same subnet. However, all Linux clients need Samba server running with this minimal configuration:

[global]
   netbios name = uberpc
   security = share
   domain master = no
   preferred master = no
   local master = no
   wins support = no
   wins proxy = no
   wins server = 192.168.1.10 
   os level = 0
You now have a fully-functioning cross-subnet Samba server that is available to all members of a single workgroup.

Next: Harmonious Windows Domain Integration »

Skip Ahead

1 Sharing is a Virtue, Even With Windows
2 Linux Clients and Masters
3 Harmonious Windows Domain Integration





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers