Set Up A Fileserver For Small/Medium Enterprises With SME Server 7.1 - Page 5

7 Create A File Share

On SME Server, file shares are called i-bays (information bays), and each i-bay consists out of three folders: cgi-bin, files, and html. Into the files folder you put all files/documents that you want to share with others - these files will be accessible over Samba (e.g. in the windows Explorer). Files/documents that you put into the html folder will be accessible over Samba and over http, i.e. you can access them in your browser. For example, you could place HTML documentations into that folder to instruct members of your department, etc. Into the cgi-bin folder you can place CGI scripts that can be executed by the web server, but we will not cover this here.

On each SME Server there is always one default i-bay, called Primary. This one cannot be removed or modified.

To create an i-bay for our sales group, go to Information bays and click on Add i-bay:

Then fill in the name of the share (this must be different from the group name, so you cannot name it sales, but sales_share is ok) and select the group (sales).

Then select who can read from and write to that share via Samba. If only members of the Sales department should be able to write to and read from that share, then Write = group, Read = group is the right choice. If the Sales department should only be able to read, but not write, you would select Write = admin, Read = group. And if the Sales department should be able to write and everybody should have read access, then Write = group, Read = everyone is the correct choice.

Next specify how the files in the html folder should be accessed. If it contains confidential information, you should probably select Local network (password required):

After we have created the sales_share i-bay, we must assign a password to that share, so we click on the red Reset password:

 

8 Test The File Share

Now that we've created our first file share, we can test it on a Windows client. Go to Start -> Run and fill in \\192.168.0.100:

You will be prompted for a username and password. Fill in joe and joe's password:

After the successful login, you should see joe's home directory, the Primary i-bay, and the sales_share i-bay:

Enter the sales_share folder. You should find the cgi-bin, files, and html folders there:

To test if we can access the html folder in a browser, open a browser and enter https://192.168.0.100/<name of i-bay>/, so in our case that would be https://192.168.0.100/sales_share/. You will be prompted for a user name and password (because we specified that the html folder requires a login from the local network when we created the i-bay). The user name would be the name of the i-bay, e.g. sales_share, along with the password we specified for that i-bay:

You should see the contents of the standard index.html file that is in the html folder. You can replace that file with any contents you like.

Share this page:

3 Comment(s)

Add comment

Comments

From: at: 2007-03-01 03:14:37

This Linux server distro-package was very easy to setup, and works like a charm. Exactly what we needed

We really like the browser support for setting up users, priviledges and shared folders. As we have about 5-6 local machines running windows xp (I now know it's a sin ;-) this setup is easy and very manageble. I used an older AMD 64 machine, with 2 identical 200GB harddisks installed, to take advantage of the RAID 1 setup during installation. Very nice... and with backup feature via the browser to another pc.

Was at first a bit skeptical, since the distro seems "less popular" than f.ex. ubuntu and openSUSE, yet after trying to go with the ubuntu server (althought great info on the site here) this setup is 110% more straight forward, for a NOB like me and my fellow co-workers. 

Also, it should handle VPN and email, although we don't need this for now. But it looks overall like a very simple and solid solution for us. Imagine... we almost said yes to a local vendor to accept a windows SBS 2003 solution, inkl. a new server, that would have cost us well over $ 5.000,- (inkl. windows upgrade). But SME server seems like just the right alternative for us... a small/mid sized company.

We send a donation right away, and may consider the support available later on.

Cheers.

Sincerly,

Cleo Andersen

Copenhagen, Denmark

From: Anonymous at: 2011-05-27 05:35:00

This is the best article that I have found in clear easy to understand step by step configuration for SME file server. It worked for me the first time although I am using version 7.5.1 Thanks to author I have it up and running to store all of my files and pictures.

Thank You for a great tutorial.

M H Bell 

From: Ariel González at: 2011-06-23 11:03:52

Very useful, very "to-the-point".

Just what I was looking for.

Thanks!