Storage and file sharing

From Amahi Wiki
Revision as of 20:24, 1 November 2008 by Wluka (talk | contribs)
Jump to: navigation, search

This page is kept for historic purposes only

All file sharing functionality in the Amahi HDA is now managed throught the web browser interface found at http://setup




Your HDA shares files on your local network. Access to the shared files is through the share \\hda.

Note that you have to input \\hda in the file browser or other places where files are requested, not in the Internet browser. This is what you should see when using the default settings and there are two users in the system:

 

Initial Install

While we build a new facility to manage shares, we ask that you configure file sharing (otherwise known as SAMBA) via the Fedora SAMBA configuration utility, which is a desktop utility. It's available at the desktop under the System menu, Administration option, Samba setting.

The following are critical things to do to make it work:

  • create a Linux user for each user you want to access the shares
  • create a SAMBA user for each user you want to access the shares.
  • associate one with the other in the SAMBA config tool
  • enable Share as Authentication Mode in the Server Settings -> Security tab.

Default Shares (Shared Folders)

By default your HDA comes with the following shares preinstalled: pictures, music, movies, files and books, in addition to one share per user "home directory" and a printers and faxes directory.

Managing User Permissions and Shares

User and share administration is performed (for the time being) directly using the Samba Server Configuration panel in Fedora. (In the future this functionality will be controlled through the setup area in your HDA.)

To get there, you have to be at the desktop of your HDA (either directly or through VNC), and go to System -> Administration -> Samba. Note: it may be under System -> Administration -> Samba, if you have more server services installed.

Here is what it looks like in my case.

 

You can then configure your shares directly and configure the samba users

Tips:

  • Samba users are separate from Linux users (System -> Administration -> Users and Groups)
  • However, each samba user must be mapped into a Linux user
  • Standard Linux permissions apply to samba users, except that samba can restrict for read-only and/or visibility of a share.
  • You may have to create user groups under Linux to manage shared spaces.

Server Settings

After all users are configured, then go to Preferences -> Server Settings.

In it go to the Security tab. In the Authentication Mode selector, select Share. Make sure Encrypted Passwords is yes. Your Guest Account may be your main user, though I believe it is not necessary.