Configuring Adlds - HP StorageWorks P4000 User Manual

Unified nas gateway
Hide thumbs Also See for StorageWorks P4000:
Table of Contents

Advertisement

Configuring ADLDS

The following examples describe the format of a password and a group file. Password and group
files can be created or copied from the NFS client system.
Password file syntax
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.
Group file syntax
Each line of a standard UNIX group file follows this format:
Group:password:GID:group list
All fields are required, but only the Group and GID fields are used. The GID field value must match
the GID field value in the password file for those users that belong to the group.
IMPORTANT:
User names in the password file cannot match group names in the group file. Windows does not
allow user names and group names to be the same.
All users included in the password file are imported. Consider removing some users from the file
before running the configuration script.
All groups in the group file are imported. Consider removing some groups from the group file
before running the configuration script.
Every imported user must have a password before that user can be used for user name mapping.
You can specify a common password for all imported users on the script command line.
If specifying the password on the command line, you must use a password that meets the password
strength requirements of your system. By default Windows Storage Server 2008 requires strong
passwords.
Script execution
You can configure ADLDS by executing the nfs-adam-config.js script that is located in the
c:\hpnas\components\ADLDS directory. Executing the script with no command line options will display
a help dialog. The following is a typical command line:
nfs-adam-config.js /passwd:<password file> /group:<group file> /ldf:out.ldf
/usercmd:generateusers.cmd /execute /log:<log file> /
userpassword:<password>
where:
<password file> = path to UNIX password file
<group file> = path to UNIX group file
<log file> = path to log file containing the results of the script execution
<password> = the Windows password assigned to all imported users
P4000 Unified NAS Gateway User Guide
51

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents