By default, Windows NT users who have an account map to a UNIX account of the same name. If they do not have a Windows NT account, the user becomes a generic user and uses the generic account, which is described in "Generic user accounts." In the rare case that you must add a user explicitly, you can do so with the methods described in this section.
You can add CIFS users to the filer at any time. The method you use for adding users to the filer depends on whether you are authenticating with a domain controller or the UNIX password database.
To add a user, create an account for the CIFS user within your Windows NT domain environment. If you want the user to also use UNIX files, either create an entry in the /etc/passwd file on the filer or include the user in the /etc/usermap.cfg file.
The /etc/usermap.cfg file explicitly maps Windows NT users to the correct UNIX account and UNIX users to a Windows NT account. The file can be coded as follows:
The filer automatically detects which of these forms is in use.
The format of the /etc/usermap.cfg file is a list of text records in the following format:
[IP-qual:] [NT-domain\]NTUser [direction] [IP-qual:] UnixUser
Lines are processed sequentially.
The following table describes the variables in the /etc/usermap.cfg file description.
The following symbol conventions are in effect:
For example, to map all unmapped users to the UNIX "nobody" account, add the following line:
* nobody
For example, to prevent access completely, add the following line:
* ""
This line prevents the default mapping of Windows NT users who have an account map to a UNIX account of the same name. Any lines after this line are disregarded by the filer.
Windows NT and UNIX names have different requirements, as follows:
If the filer is domain authenticated, by default the /etc/usermap.cfg file contains the following line:
domain\administrator root
To add a user, enter the user's information into the NIS password and group maps.
Note: If you do not use NIS, create entries for the user in the filer's /etc/passwd and /etc/group files.
Copyright © 1999, Network Appliance, Inc. All rights reserved.
Part No. 210-02334
File: cifs4.htm
Last updated: 02/24/99 12:16:32