
Command Reference
70
HP StorageWorks NAS 8000 Command Reference
User and Group Settings
The following commands allow you to map users of the Server Message Block
Protocol/Common Internet File System protocol (SMB/CIFS - Windows) to users of the
Network File System protocol (NFS - UNIX).
The HP NAS 8000 maintains a mapping of users between the two protocols. If a Windows user
is not mapped to an existing UNIX user ID, a new UNIX user ID is generated and the
Windows user is mapped to it when the Windows user accesses the HP NAS 830 for the first
time.
Mapping users improves adherence to file and directory permissions and compliance to disk
quotas.
In addition to setting up user mapping, you can export a list of Windows and UNIX users. You
can also import or export a user map file. Importing a user map lets an unlimited number of
mappings occur simultaneously. Exporting a user map lets you save the map for later use or for
disaster recovery.
Note:
User mapping is available only when you select user-level security on the Windows Security
screen. User mapping using names is most useful when NIS is enabled.
getSystemUnixUserNamesList
Returns a list of UNIX users on the system.
■
outParam[0:1] = UNIX user name
getSystemUnixGroupNamesList
Returns a list of UNIX groups on the system.
■
outParam[0:N] = UNIX group name
getSystemUserMapList
Returns a list of mapped users, with both Windows and UNIX user IDs listed.
■
outParam[0:N] = Windows user -> UNIX user
getSystemUserMapList
Returns a list of mapped users, with both Windows and UNIX user IDs listed.
■
outParam[0:N] = Windows user -> UNIX user
getSystemGroupMapList
Returns a list of mapped groups, with both Windows and UNIX group names listed.
■
outParam[0:N] = Windows group -> UNIX group
getSystemWindowsDomainsList
Returns a list of the current and trusted Windows domains.
■
outParam[0:N] = Windows domains
getSystemWindowsUserNamesFromDomainList
Returns a list of users’ Windows IDs for users on the specified Windows domain.
■
inParam[0] = Domain