Sun Microsystems SUN STOREDGETM 5310 NAS User Manual

Page 143

Advertising
background image

Chapter 2

NAS Head

2-97

4. Navigate to Windows Configuration/Manage SMB CIFS Mapping/Configure User

Mapping. There you will see radio buttons for each of three user mapping options
and each of three group mapping options. The user mapping options are as
follows:

No mapping: This is the default setting. When a new user connects, a new UID is
generated by StorEdge. This UID will be one larger than the largest current UID
found on the StorEdge. Any desired mapping of SMB users to NFS users must be
done manually.

Map by User Name: This setting specifies that the Windows user’s name is
looked up via the configured passwd lookup service. If the lookup is successful,
the NFS UID is taken from the matching entry. If the lookup fails, a new UID is
generated as with the “no mapping” rule.

Map by Full Name: This setting specifies that the NT users full name is looked
up via the configured passwd lookup service. If the lookup is successful, the NFS
UID is taken from the matching entry. If the lookup fails, a new UID is generated
as with the “no mapping” rule.

The group mapping options are as follows:

No mapping: This is the default setting. When a new user connects, a new GID is
generated by StorEdge. This GID will be one larger than the largest current GID
found on the StorEdge. Any desired mapping of SMB groups to NFS groups must
be done manually.

Map by Group Name: This setting specifies that the NT group name is looked up
via the configured group lookup service. If the lookup is successful, the NFS GID
is taken from the matching entry. If the lookup fails, a new GID is generated as
with the “no mapping” rule.

Map to Primary Group: This setting specifies that the NT group name is looked
up via the configured passwd lookup service, in the primary group field. If the
lookup is successful, the NFS GID is taken from the matching entry. If the lookup
fails, a new GID is generated as with the “no mapping” rule.

5. To set this up with the StorEdge CLI, connect to the StorEdge via Telnet or serial

console.

6. Type “admin” at the [menu] prompt and enter the administrator password.

7. At the CLI, enter “show map*”, this will return the current mapping rules. The

syntax to set the user mapping rule is as follows, “set <variable> <mapping
rule>”. Replace <variable> with either smb.map.users or smb.map.groups,
depending on which mapping rule you wish to set. The options for <mapping
rule> all match the descriptions above, as follows:

Valid options for smb.map.users:

MAP_NONE—No Mapping

MAP_USERNAME—Map by User Name

Advertising