Follow this procedure to prepare the name mapping files for UNIX mode access:
The format of the PASSWD file is the same on NetWare as it is on UnixWare; you can copy the file from each UnixWare system to the NetWare server and put them all together into a single PASSWD file on the server in the directory SYS:ETC.
A sample file appears below:
root:x:0:3:0000-Admin(0000):/:/sbin/sh bill:x:200:200::/home/bill:/usr/bin/sh ray:x:201:200::/home/ray:/usr/bin/sh greta:x:301:300::/home/greta:/usr/bin/sh simone:x:300:300::/home/simone:/usr/bin/shBe sure that only one entry for a particular UID (the third colon-separated field in the PASSWD file) appears in the file to maintain consistent mappings. If you have three UnixWare systems, and users from all three machines will be accessing files on the NetWare server volumes loaded in UNIX mode, then each user's UID should be unique across all three machines.
For example, if user harold on the UnixWare system ghost has a UID of 101, then no other user on ghost or any other system should be assigned a UID of 101.
Beyond making sure all UIDs are unique, you should not need to make any other changes in the PASSWD file.
The file SYS:ETC\NFSUSERS sets up a one-to-one relationship between the UnixWare UIDs in the SYS:ETC\PASSWD file and NetWare usernames. All UIDs and usernames appearing in the file should be unique.
# "NFS uid", "NetWare Username" 0 SUPERVISOR -2 NOBODY 300 SIMONE 301 GRETA 200 BILL 201 RAYThe first two entries (for SUPERVISOR and NOBODY) are special and must not be removed.
Make sure the NetWare usernames listed in the SYS:ETC\NFSUSERS file are defined on the NetWare server using the SYSCON utility from a DOS workstation.
New NetWare users are automatically added to the group EVERYONE; you will need to make additional group assignments if you create additional NetWare groups, as mentioned in the next step.
The file SYS:ETC\NFSGROUP sets up a one-to-one relationship between the UnixWare GIDs in the SYS:ETC\PASSWD file and NetWare groups.
All GIDs and groups appearing in the file should be unique. A sample file is shown below.
# "NFS gid", "NetWare Group Name" -2 NOGROUP 800 NFSGROUP 200 ENGR 300 MKTGThe NetWare groups listed in the NFSGROUP file also need to be added to NetWare (if they are not already), using the SYSCON utility from a DOS workstation.
Once you add new groups to NetWare, add NetWare users to the groups just as they are assigned on the UnixWare systems (if this is not done already).
New NetWare users are automatically added to the group EVERYONE on NetWare 3.x servers; keep this group assignment for UnixWare users in addition to the additional group assignments you make as it is used to emulate the UnixWare ``other'' permissions.