12.7 Adding a User to Samba

If Linux-enabled users who need access are not already added to Samba, add them to the Samba server.

  1. Log in to iManager as the administrator user.

  2. In iManager, click File Protocols > Samba > Shares.

  3. Select a server to manage, then click the Users tab.

  4. On the Shares > Users page, click Add, then locate and select the users you want to add to Samba.

    If a user is added successfully, the user name is listed on the Users page. The user should be listed with the default Samba user group hostname-W-SambaUserGroup and with the primary Linux-enabled user group to which the user was added earlier.

    Users are automatically added to hostname-W-SambaUserGroup when they are added as Samba users via the Samba Management plug-in for iManager. If a user is already a member of another Linux-enabled group, adding the user to Samba adds the Samba group as the user’s primary group.

    If the user’s previous primary group gave the user specific access to PAM-enabled services, the user likely loses those access rights, because the default Samba group gives users no rights to any PAM-enabled services. If this occurs, you can remove the user from the default Samba user group and reassign the user back to his or her previous primary group. This is done by modifying the user’s properties.

  5. If you need to modify a user’s properties, go to User > Modify > Linux Profile, and change the Primary Group Name back to the previous group name. This also changes the Primary Group ID.

  6. If you encounter problems with Samba, you can start, stop, or restart the Samba server from the File Protocols > Samba > Shares > General page.