2-98 Sun StorEdge 5310 NAS Troubleshooting Guide • December 2004
■ MAP_FULLNAME—Map by Full Name
Valid options for smb.map.groups:
■ MAP_NONE—No Mapping
■ MAP_GROUPNAME—Map by Group Name
■ MAP_UNIXGID—Map to Primary Group
Example: set smb.map.users MAP_USERNAME will define the mapping rule for
users to Map by User Name.
Note – All variable names and values are case sensitive. After setting any variables
on the StorEdge, i.e. anytime the “set” command is used, the command "savevars"
must be entered at the command line in order for the settings to persist though
future server reboots.
How do I modify existing user and group credential mappings?
User and group mappings are stored in the configuration files users.map and
group.map. We provide a menu interface to edit these mappings. This will be
necessary in cases where the NFS user account name does not match the SMB user
account name; and in cases where mapping was not configured prior to migration of
users and data.
To access this functionality, proceed as follows:.
1. Access the StorEdge via Telnet or serial console.
2. Press [Enter] at the [menu] prompt and enter the administrator password.
3. Press the spacebar until “CIFS/SMB Configuration” is displayed under
“Extensions” at the lower right.
4. Select the letter corresponding to “CIFS/SMB Configuration”.
5. Select the letter corresponding to “User Mapping”. (Or “Group Mapping” for
groups)
This will bring up a list of all existing user maps, ten per page. If there are more than
ten, select option “1” and option “3” to move through the pages. For each user, there
is a Windows username, domain and RID on the left side of the screen. The RID is
roughly equivalent to the NFS UID or GID. RID information is stored in a database