HOW TO: Configure the User Name Mapping ServiceArticle ID: 324073 - View products that this article applies to. This article was previously published under Q324073 On This PageSUMMARY
UNIX-based domains and Windows-based domains have different user identities and group identities, even if the user names are the same. You can use the User Name Mapping service to map Windows security identifications (SIDs) to UNIX user identifications (UIDs) and UNIX group identifications (GIDs). This is true whether the user names are the same or different. Additionally, you can use the User Name Mapping service to map multiple Windows accounts to a single UNIX account. This simplifies the account management process for administrators who must provide Windows users with UNIX resources during the migration.
Install the User Name Mapping ServiceBecause Microsoft Windows Services for UNIX version 3.0 uses Microsoft Installer for installation, you can install individual modules of the product from the command prompt. If you have installed previous components of Windows Services for UNIX, you must include them in the addlocal parameter of the installation command (separated by commas). Otherwise you remove the previous components when you install the User Name Mapping service. You must install one or more User Name Mapping servers on your network to support User Name Mapping functions in Interix, in Client for UNIX Network File Service (NFS), in Server for NFS, and in Gateway for NFS.To install the User Name Mapping service from the command prompt:
Configure the User Name Mapping ServiceYou can configure the User Name Mapping service either through the Windows Services for UNIX Administration Microsoft Management Console (MMC) or through the Mapadmin.exe utility at the command prompt. Because of the built-in abilities of the Interix subsystem, you can easily script even complex maps through the Mapadmin.exe utility. For example, you can create a simple script that reads a text-file list of Windows users and maps them to a corresponding list of UNIX users.The basic format of the Mapadmin.exe command is mapadmin [server] [-u user [-p pword]] command options
where command options include the following:
Options Details
-------------- ----------------------------------------------------------
blank Returns the information about the current configuration
config Sets the configuration options
start Starts the User Name Mapping service on the specified
server (by default, the local computer is used)
stop Stops the User Name Mapping service on the specified
server (by default, the local computer is used)
add Adds a mapping, either user or group
setprimary Sets the primary user or group mapping
delete Deletes a mapping
list Displays information about current user and group mappings
backup Creates a backup of current mappings to a text file
restore Restores a previously backed-up user name mapping file
adddomainmap Adds a simple map between the Windows domain and the
NIS domain or PCNFS passwd and group files
listdomainmaps Lists the Windows domains that are mapped to PCNFS files
or NIS domains
REFERENCESFor additional information about how to perform maintenance tasks after a UNIX-to-Windows migration, click the article number below
to view the article in the Microsoft Knowledge Base:
324539
(http://support.microsoft.com/kb/324539/EN-US/
)
HOW TO: Perform Maintenance and Ancillary Tasks after a UNIX-to-Windows Migration
PropertiesArticle ID: 324073 - Last Review: November 1, 2006 - Revision: 2.1 APPLIES TO
| Article Translations |




Back to the top

