LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)

Table Of Contents
Command Arguments Applicable to -t group
The following are the command arguments and options used in the previous examples of the
ldapugadd -t group commands:
-M <member>
Defines initial group membership by adding the specified user accounts
as members.
-g <gid_nubmer>
Specifies the group id number for the new group.
<group_name>
Required argument. Specifies the POSIX style group name for the new
group entry.
Modifying Defaults in /etc/opt/ldapux/ldapug.conf
You can use the ldapugadd -D command to change default values of the uidNumber_range,
gidNumber_range, user_gidNumber, default_homeDirectory and
default_loginShell parameters in the /etc/opt/ldapux/ldapug.conf file.
The following commands set new default minimum and maximum ranges of uid numbers in
the local configuration file, /etc/opt/ldapux/ldapug.conf. The ldapugadd tool randomly
selects a new ID from this range if an account number is not specified.
cd /opt/ldapux/bin
./ldapugadd -D -t passwd -u 1000:5000
The following command sets new default minimum and maximum ranges of GID numbers in
the local configuration file, /etc/opt/ldapux/ldapug.conf. The ldapugadd tool randomly
selects a new ID from this range if a group number is not specified.
./ldapugadd -D -t group -g 200:2500
The following command sets new default group ID number in the local configuration file,
/etc/opt/ldapux/ldapug.conf. The ldapugadd tool uses this value when creating new
user entries in an LDAP directory server.
./ldapugadd -D -t passwd -g 5000
The following command sets new default login shell in the local configuration file,
/etc/opt/ldapux/ldapug.conf. The ldapugadd tool uses this login shell when creating
new user entries in an LDAP directory server.
./ldapugadd -D -t passwd -s /net/bin/ksh
The following command sets new default parent home directory in the local configuration file,
/etc/opt/ldapux/ldapug.conf. The ldapugadd tool uses this home directory when creating
new user entries in an LDAP directory server.
./ldapugadd -D -t passwd -d /net/home
Command Arguments Applicable to -D
The following describes arguments used in the previous examples of the ldapugadd -D
commands:
-D
Uses this option to change local host defaults in the
/etc/opt/ldapux/ldapug.conf file which are used by
ldapugadd when creating new user or group entries in an
LDAP directory server.
-u <min_uid>:<max_uid>
Sets new default minimum and maximum ranges that
ldapugadd uses when provisioning an UID number for new
user entries.
132 Administering LDAP-UX Client Services