Latest tutorial: Making a Movieclip face another Movieclip or point on the stage | Ask Tutorial5!
 

Build Your Own Database Driven Website Using PHP & MySQL

SitePoints Best Seller book on scripting.

  • Learn how to install and administer PHP & MySQL on Windows, Linux or Mac

  • Build your very first live Database Driven Website using PHP & MySQL

  • Instantly apply working code examples from the book to your Website


Download the free chapters now!

Configuring a Linux Share in Microsoft networks

(1 vote)
Written by Mihai Dobos   
linux4040-logo.gifLearn how to share files from a Linux server in a Microsoft network environment.

File sharing servers are some of the most useful services that run in a Small office/Home network. If you have more than 10 clients or so, then you have to get a decent Operating System to host your share (or get a Network Attatched Storage device).

This means using either Microsoft 200x Server OS, or Linux. Of course, Linux is free so I'll cover Microsoft 200x Server shares in a later tutorial.

To share files from Linux to Windows you need an application that is compatible with the Microsoft File Sharing system; the most common one is Samba.

Using Fedora Core and GNOME graphical interface, you can install and configure Samba in easy steps.

First if you need to install Samba, open a terminal (Application -> Accessories -> Terminal) and follow the commands bellow.
 - "su -l" - get root priviliges
 - "yum install samba" -> search for the samba package (+ dependencies), download (~20mB) and install it


samba-server01.jpg




Then you need to configure it; the easiest way is in the GUI, by selecting the menus like shown bellow (System - Administration - Server Settings - Samba):

samba-server02.jpg


You will need to authenticate yourself as root to edit these settings.

In the window that opens, go to Preferences -> Samba users to add accounts for this service. Select an already created Unix username (system username), then it's Samba alias and password (should not be the same as the Unix password for security reasons).

samba-server03.jpg

After doing this, click Preferences -> Server Settings and set the apropriate Workgroup in your case and a server description. The security tab should remain to the default values: authentication required and no guest accounts.

Save your settings and then click Add Share like shown bellow:

samba-server04.jpg

Select your full Unix path, a name and a description for the share. Select to make it visible and/or writable and then click on the Access tab to add Samba users.

In the Workgroup, on any MS machine, you should be now able to explore the shares after authenticating yourself.



Subscribe now via RSS feed and get all the new tutorials

written by Jodi , January 09, 2008

Windows file rights mangement

Do you need more help? Ask now!
 

busy
Last Updated ( Thursday, 20 December 2007 )