HP P4000 G2 manual Phase 2 scripts, Password and Group file syntax

Models: P4000 G2

1 128
Download 128 pages 8.37 Kb
Page 55
Image 55

Figure 18 AD LDS Role and Instance

.

To verify the installation of the Services for Network File System (NFS) Role, in Server Manager, under Roles, click File Services. In the System Services table, Server for NFS is listed.

Phase 2 scripts

Phase 2 scripts are located in the c:\hpnas\components\ADLDS folder. You create NFS mappings for users and groups by running the nfs-adlds-config.js script. This script takes as inputs a standard UNIX password file and a standard UNIX group file. For each user or group in these files a Windows user or group account is created if one does not already exist. Next, the script examines the UNIX password file to extract the User ID and Group ID of each user. From these, a mapping is created on the Windows system that associates the User ID and Group ID with the UNIX account that has the same User ID and Group ID. Similarly, the script examines the UNIX group file, extracts the Group ID, and forms a mapping on the Windows system that associates the Group ID with the UNIX group having the same ID. This mapping is what allows directories and files to be accessed from either the Windows NFS server or the UNIX NFS client using the same User ID and Group ID.

The nfs-adlds-config.js script will also add Windows users to the appropriate Windows groups for the newly created user and group accounts. It does this by examining the relationships between users and groups in the password and group files that were given as inputs to the script.

Password and Group file syntax

You can create the password and group files yourself or copy them from the NFS client at /etc/passwd and /etc/group.

Each line of a standard UNIX password file follows this format:

user:password:UID:GID:comment:home directory:command shell

All fields are required, but the only fields that are used are the user, UID, and GID fields. If you are creating these files yourself, you may want to leave the other fields blank.

P4000 G2 Unified NAS Gateway User Guide 55

Page 55
Image 55
HP P4000 G2 manual Phase 2 scripts, Password and Group file syntax