Accessing NetWare volumes from UnixWare

UnixWare user identification files

The three name mapping files (SYS:ETC\PASSWD, SYS:ETC\NFSUSERS, and SYS:ETC\NFSGROUP) are used by NUC.NLM to establish user identity when a UnixWare user accesses a NetWare volume running NUC.NLM in NetWare or UNIX mode. (When accessing files on DOS or NetWare mode volumes, the name mapping files are not consulted.) Together, the files map UnixWare user logins and groups to NetWare usernames and groups, using the UnixWare user ID (UID) and group ID (GID) to link the NetWare and UnixWare names in the files.

passwd
contains the UnixWare login and UID and GID

nfsusers
contains the NetWare username and the associated UnixWare user's UID; the UID is used as a key between nfsusers and the passwd file

nfsgroup
contains the NetWare group name and the associated UnixWare GID; the UID is used as a key between nfsgroup and the passwd file
For example, you might use the UnixWare login user1 and the NetWare username user1. If your UnixWare UID is 4096, then your PASSWD entry would be:
   user1:x:4096:750::/home/user1:/bin/ksh
Your NFSUSERS entry would be:
   4096	user1
Similarly, the GID field in the PASSWD file (the fourth colon-separated field) must map to a corresponding entry in the nfsgroup file.

For example, an entry in the NFSGROUP file for group 750 in the example above might be:

   750	MGMT


NOTE: The corresponding UnixWare group name (for example, MGMT) is stored only on the UnixWare system (in /etc/group).

If the UnixWare user user1 (UID=4096, GID=750) logs into NetWare as user1, he will be able to use UnixWare commands to perform any actions that the NetWare user MARKH (group MGMT) could normally perform on any volumes supporting NUC.NLM in UNIX mode.

When displaying file information, NetWare access control and ownership information for files on these volumes will be translated to UnixWare access control and ownership information.

For example, let's say that UnixWare user user1 logs in to NetWare as user1 and creates a NetWare file called travel.exp that only user1 can access with write permission.

If NUC.NLM is loaded for the volume in UNIX mode, then when user1 enters ls -l in that directory from UnixWare, he sees the following:

   -rw-r--r-- 1 user1 mgmt 1024 Jul 18 13:02 travel.exp

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999