Home > Ask the Enterprise Linux Experts > Linux migration and administration Questions & Answers > Networking Windows and Linux with Samba
Ask The Enterprise Linux Expert: Questions & Answers
EMAIL THIS

Networking Windows and Linux with Samba

Kenneth Milberg EXPERT RESPONSE FROM: Kenneth Milberg

Pose a Question
Other Enterprise Linux Categories
Meet all Enterprise Linux Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 28 April 2005
I have a network via LAN with three computers. Two of them run Windows 2000 and the third runs Linux. I have only one CD-ROM in server 2000 and want to share it with Linux. How can I set this up?

>
If you have both Windows and Linux PCs on a LAN and wish to share both devices and files, I would recommend Samba. Samba is a software package that gives system and network people the flexibility to make real choices in terms of setup, configuration, and choosing all types of systems and equipment, on different operating systems. It has been around since 1992, and can be run on UNIX or Linux, using TCP/IP, which allows the host interact to with a Microsoft Windows client or server as if it is a Windows file and print server, or client.

First, you'll need to share your Windows Server. From "My Computer," right click on the CD-ROM and choose "sharing." Create a share name and then configure Samba on the Linux Server.

To configure a Samba share directory on your Linux system, add the following section to the share section in the smb.conf file. With file sharing, the following statement from the config file ( /etc/samba/smb.conf) would allow users "Larry," "Curly" and "Moe" to access the directory that you need.

valid users = larry curly mo
public = no
writable = yes

After installing and configuring Samba, you can use the smbmount command to get access to your system.

Something like this will do:
smbmount //winclient/cdrom /mnt/win-cdrom -o
username=theusername

For more information on installing samba, see www.samba.org or look at this Samba learning guide.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Heartbeat  (SearchEnterpriseLinux.com)
tty command  (SearchEnterpriseLinux.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Linux Migration Advice: Unix-to-Linux, Windows-to-Linux
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2003 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts