Windows operating systems

Setting permissions by using Samba

To set the permissions, you must configure Samba so that the user account that is starting the storage agent has root access.

About this task

The following example explains how to configure Samba 2.2.2. Other versions of Samba might require different configuration steps.

Procedure

  1. Set the Samba share directory read-only parameter to NO.
  2. Set the Samba guest ok parameter to NO.
  3. Use a user name map file that maps a Windows login name to an existing UNIX name. Create a file that is named user.map and place it in the /usr/local/samba/bin directory on the UNIX server.
    Tip: Previous versions of Samba might install in the /opt directory.
  4. Add the following line to the user.map file, where admin represents the user account that is starting the storage agent:
    root = root administrator admin
  5. Add the following line to the global section of the Samba smb.conf file:
    username map = /usr/local/samba/bin/user.map
  6. Test the permission settings by completing the permission-testing procedure.