Lab Exercise 8.3: Working with NetStorage

 <  Day Day Up  >  

In this lab, you're going to use a browser to access Samba shares through NetStorage.

Warning

This lab assumes you completed the labs in Chapter 6 and the preceding labs in this chapter. If not, be sure to go back and complete these first.


Complete the following steps:

  1. Test the default shared folder in NetStorage by completing the following:

    1. Open a web browser and navigate to https :// your_server_IP_address /NetStorage.

    2. In the User Name field, enter JJackson.IF.CLE .

    3. In the Password field, enter novell .

    4. Click OK . The NetStorage screen appears.

    5. Select shared . The content of the shared folder appears. Remember that this folder is common to all NetStorage users.

    6. Select File , Upload .

    7. In the File field, browse to and select a file you want to upload. You can use any file you wish.

    8. Click Upload .

    9. Wait while the file is uploaded. When the upload is complete, you will see the file displayed in the shared folder.

    10. Select Logout ; then close your browser window.

      Warning

      You have to close the browser after logging out. Otherwise, if you try to access the NetStorage page again, you will automatically be reauthenticated as the original user.

    11. Open a new browser window and navigate to https:// your_server_IP_address /NetStorage.

    12. Authenticate as CGrayson.IF.CLE with a password of novell .

    13. Select shared .

    14. The file you uploaded as JJackson should be displayed in the shared folder.

    15. Select Logout ; then close the browser window.

  2. Create a Storage Location object for the JJackson user's home directory share by completing the following steps:

    Warning

    JJackson.IF.CLE must be configured as a LUM/Samba user for this exercise to work. If you completed the Samba lab in this chapter, JJackson should have been converted to a LUM/Samba user.

    1. Open a browser window and navigate to https:// your_server_IP_address /nps/iManager.html.

    2. Authenticate as admin with a password of novell .

    3. Scroll down to the File Access role and select the Storage Location: Create task.

    4. In the Object Name field, enter JJacksonStorageLocation .

    5. In the Display Name field, enter Jim Jackson's Home Directory .

    6. In the Directory Location field, enter cifs:// your_server_IP_address /JJackson .

    7. In the Context field, enter IF.CLE .

    8. Click Create .

    9. When prompted that the Storage Location has been created, click OK .

    10. Under the File Access role, select Storage Location: Create/Modify List .

    11. In the Object field, browse to and select the JJackson.IF.CLE user object.

      Note

      Because this Storage Location object points to a user's home directory, we don't want it to appear in any other user's list of storage locations in NetStorage .

      Therefore, we're associating the Storage Location object to a specific user instead of a group object or a container .

    12. Click OK .

    13. In the Storage Location Objects field, browse to and select the JJacksonStorageLocation Storage Location object.

    14. Click OK .

    15. When prompted that the location has been created, click OK .

    16. Test the configuration by opening a new browser window and navigating to https:// your_server_IP_address /NetStorage.

    17. Authenticate as JJackson.IF.CLE with a password of novell .

    18. You should see a storage location named Jim Jackson's Home Directory. You can upload and download files from this storage location as you did the shared location previously.

  3. Create a Samba share for Idaho Falls employees in the IF.CLE container by completing the following steps:

    1. On your server, open a terminal session.

    2. Create a new directory for the Idaho Falls employees by entering mkdir /var/ifemployees .

    3. Associate the ifemployees directory with the IFEmployees group in your eDirectory tree by entering chown root:IFEmployees /var/ifemployees .

      Warning

      Remember that we converted the IFEmployees group to a LUM group in Chapter 6. If you didn't complete the exercises in that chapter, this lab won't work.

    4. Give Group read, write, and execute permissions while denying permissions to Owner and Others for the ifemployees directory by entering chmod 070 /var/ifemployees .

    5. Now you need to create a Samba share for this directory. At the shell prompt, enter vi /etc/opt/novell/samba/smb.conf .

    6. Scroll down to the Share Definitions section of the file.

    7. Press Ins .

    8. Add the following text to this section:

       

       [IFEmployees]        path = /var/ifemployees        writable = yes     public = no        group = IFEmployees 

       

    9. Press Esc .

    10. Enter :exit .

    11. To activate the share, you need to restart the Samba service on your server. At the shell prompt, enter /etc/init.d/novell-smb stop ; then enter /etc/init.d/novell-smb start .

  4. Create a Storage Location object for the new Samba share by completing the following:

    1. Open iManager in a browser window, if it's not already running.

    2. Under File Access , select Storage Location: Create .

    3. In the Object Name field, enter IFEmployeesStorageLocation .

    4. In the Display Name field, enter IF Employee Storage .

    5. In the Directory Location field, enter cifs:// your_server_IP_address /IFEmployees .

    6. In the Context field, enter IF.CLE .

    7. Click Create .

    8. When prompted that the Storage Location object has been created, click OK .

    9. Under File Access , select Storage Location: Create / Modify List .

    10. In the Object field, browse to and select the IFEmployees.IF.CLE group.

    11. Click OK .

    12. In the Storage Location Objects field, browse to and select the IFEmployeesStorageLocation.IF.CLE object.

    13. Click OK .

    14. When prompted that the assignment was made, click OK .

  5. Test the new storage location by completing the following steps:

    1. Open a new browser window and navigate to https:// your_server_IP_address /NetStorage.

    2. Authenticate as CGrayson.IF.CLE with a password of novell .

    3. You should see the IF Employees Storage storage location displayed. You can create folders, upload files, and download files as you did in the shared storage location previously.

Tip

Remember that your users must be LUM/Samba enabled before they can use NetStorage. If you experience problems, this is the first thing to check!


That's it for this exercise and for this chapter. At this point, you should start to see how tightly NNLS integrates its various components . When properly configured, eDirectory, LDAP, eGuide, LUM, iFolder, Samba, and NetStorage all work together in harmony.

 <  Day Day Up  >  


Novell Certified Linux Engineer (CLE) Study Guide
Novell Certified Linux Engineer (Novell CLE) Study Guide (Novell Press)
ISBN: 0789732033
EAN: 2147483647
Year: 2004
Pages: 128
Authors: Robb H. Tracy

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net