3.4 Creating Storage Location Objects and Lists

After installing NetStorage, you might be able to see only a local shared directory on the Linux server that is using NetStorage. Storage Location objects are required for accessing files and directories on Linux servers unless you have the NCP Server component of OES installed. Without NCP Server, users might have specific eDirectory rights to certain files and folders on your network but cannot access those files and folders through NetStorage unless storage location objects have been created.

3.4.1 SSH Storage Location Objects

The SSH file access method is included with NetStorage and allows access to files on Linux systems that does not support either NCP or CIFS protocols. This method uses the Secure Shell (SSH) protocol to access files on Linux systems. SSH is accessed by creating an eDirectory Storage Location object with a URL prefix of ssh://. For example:

ssh://yourserver.yourcompany.com/home/youruser

The username and password that you use to access files on your Linux system must be the same as those used to log in to NetStorage. You can use the SSH file access method with NetStorage to access files locally on your Linux system if NetStorage is running on that system. To do this, create a Storage Location object that uses the IP address of the local Linux machine with the ssh:// prefix.

IMPORTANT:NetStorage storage location objects defined using the SSH protocol do not function unless SSHD has been enabled for LUM users.

If you want to access local files or files on another server in the same eDirectory tree by using the SSH file access method, you must select the SSHD check box during the OES installation or enable SSHD afterwards by using YaST. This check box is in the Linux User Management configuration section of the OES installation.

3.4.2 Creating a Storage Location Object

  1. Start your browser (Internet Explorer 5 or later, Mozilla, etc.) and specify the URL for iManager.

    The URL is http://server_ip_address/nps/imanager.html. Replace server_ip_address with the IP address or DNS name of the Linux server running NetStorage or the IP address for Apache-based services.

  2. Enter your username and password.

  3. In the left column, click File Access and then click New Storage Location.

  4. Specify the object name, display name, directory location, context, and a comment.

    The object name is the name of the object in the eDirectory tree.

    The display name is the name to be displayed in the NetStorage directory access list. This is the shortcut name and is seen by users. If you use the same display name for two different Storage objects, a digit is added to the names to make each name unique.

    The directory location is the location of the directory on the file system. The location is a URL that includes the file system type, server name, volume, and directory path.

    If the storage being accessed is on a NetWare server, the URL must be in the following format:

    ncp://server_name/volume/path_to_directory

    For example:

    ncp://server1.digitalair.com/mktg/reports

    or

    ncp://192.168.3.4/mktg/reports

    If the storage being accessed is on a Linux server, the URL must be in one of the following formats:

    • ncp://server_name/volume/path_to_directory

      This method requires that the NCP Server component of OES be installed on your Linux server.

      A storage location using this format can only access files on an NCP or NSS volume.

    • cifs://server_name/cifs_share_name

      This method can be used if you have configured a CIFS or Samba share (cifs can be interchanged with smb in the format).

    • ssh://yourserver.yourcompany.com/home/youruser

      This method allows access to files on Linux systems that don’t support either NCP or CIFS (SMB) protocols.

    If the file system is omitted, it is assumed that it is NCP.

    The context is the directory context that the Storage Location object resides in. Click the object selector to select the context.

    The comment is entered by the administrator and is not displayed to users.

  5. Click Create, then click OK.

IMPORTANT:If the IP address of the server that is represented in the eDirectory storage location object is changed, you must update the storage location object with the new IP address. You need not change any configuration files. To modify a storage object, refer to Modifying a Storage Location Object.

3.4.3 Creating a Storage Location List

After you create a Storage Location object, you must create a list of Storage Location objects that can be used with a specified User, Group, Profile, or Container object. Users see the directory associated with the object the next time they log in. After this list is created, you can modify it in the same window by assigning additional Storage Location objects to the list or by deleting Storage Location objects from the list.

  1. Start your browser (Internet Explorer 5 or later, Mozilla, etc.) and specify the URL for iManager.

    The URL is http://server_ip_address/nps/imanager.html. Replace server_ip_address with the IP address or DNS name of the Linux server running NetStorage or the IP address for Apache-based services.

  2. Enter your username and password.

  3. In the left column, click File Access, then click Assign Storage Location to Object.

  4. Click the Object Selector button; select the User, Group, Profile, or Container object that the list is to be created for; then click OK.

  5. Click the Object Selector button, select the Storage Location objects you want included in this list, then click OK.

    You can select multiple Storage Location objects in the Object Selector window. When you select multiple Storage Location objects, they appear in the Selected Objects list. If the list already contains Storage Location objects and you want to add more, ensure that the original objects are still in the list before clicking OK.

  6. (Optional) Remove existing storage locations by deleting their names from the list.

  7. When you are finished creating or modifying the list, click OK.