ldapugadd.1m (2010 09)

l
ldapugadd(1M) ldapugadd(1M)
NAME
ldapugadd - add new accounts or groups to an LDAP directory server
SYNOPSIS
ldapugadd [-t passwd][options ][
-h hostname ][-p port ][-b base][
-u uid_number ]
[
-g group/gid][
-f full_name ][-x domain][-G group/gid[
,...] [-s login_shell ]
[
-d home_directory][
-I gecos ][-c
comment][-m [-k skel_dir ]] [-T template_file] uid_name
[[attr
=value][...]]
ldapugadd -t group [options ][
-h hostname ][-p port ][-b base ][-g
gid_number]
[
-x domain][-M
member[,...]] [-c comment][-T template_file] group_name
[[attr
=value][...]]
ldapugadd -D [-d default_home ][
-s default_shell][
-g default_gid ][-u min_uid:max_uid]
[
-g min_gid:max_gid]
DESCRIPTION
ldapugadd allows HP-UX administrators to add new POSIX accounts or groups to an LDAP directory
server (see first and second syntaxes in SYNOPSIS above). Furthermore,
ldapugadd can be used to
modify the
/etc/opt/ldapux/ldapug.conf
file to set defaults for creation of new users or groups
(see the third syntax in the SYNOPSIS above).
ldapugadd makes use of user and group template files that allow ldapugadd to conform to the infor-
mation model used for the types of entries being created. Users of ldapugadd are required to provide
LDAP administrator credentials that have sufficient privilege to perform the user or group add operation
in the LDAP directory server.
Options
-P Prompt for the administrators bind identity (typically LDAP DN or kerberos principal) and bind
password.
Without
-P, ldapugadd will discover the bind identity and password from the environment
variables LDAP_BINDDN and LDAP_BINDCRED
. If either the LDAP_BINDDN or
LDAP_BINDCRED environment variable has not been specified, ldapugadd will follow the bind
configuration specified in the ldapux configuration profile (see ldapux (5)).
If
ldapux has specified "proxy" bind, the bind credential will be read from either the
/etc/opt/ldapux/acred
or /etc/opt/ldapux/pcred file. The acred file will only be
used by users that have sufficient administrative privileges to read that file. Refer to Binding to
the Directory Server below for additional details.
-PP Prompt for the password of the user or group being created. Also, if ldapUX (5) attributed map-
ping for the userPassword attribute has not been defined or set to
*NULL*, ldapugadd will
create new passwords in the userPassword attribute. To assure accuracy, the user will be
prompted twice for the password.
ldapugadd relies on the directory server for setting of pass-
word policy, such as user-must-change-password-at-first-login.
-PW Set the user or group password attribute. Also, if ldapux (5) attributed mapping for the user-
Password attribute has not been defined or set to *NULL*, ldapugadd will create new pass-
words in the userPassword attribute. If -PW is specified, either the LDAP_UGCRED environment
variable or the -PP option must be specified.
-Z Requires an SSL connection to the directory server, even if the ldapux(5) configuration does not
require the use of SSL. Use of -Z requires either a valid server or CA certificate be defined in
the /etc/opt/ldapux/cert8.db file. An error will occur if the SSL connection could not be
established. Refer to Binding to the Directory Server below for additional details.
-ZZ Attempt a TLS connection to the directory server, even if the ldapux (5) configuration does not
require the use of TLS. If a TLS connection is unable to be established a non-TLS and non-SSL
connection will be established. Use of -ZZ is not recommended unless alternative methods are
used to protect from network eavesdropping. Use of -ZZ requires either a valid server or CA
certificate be defined in the /etc/opt/ldapux/cert8.db file. Refer to Binding to the Direc-
tory Server below for additional details.
-ZZZ Requires a TLS connection to the directory server, even if the ldapux (5) configuration does not
require the use of TLS. Use of -ZZZ requires either a valid server or CA certificate be defined in
the /etc/opt/ldapux/cert8.db file. An error will occur if the TLS connection could not be
established. Refer to Binding to the Directory Server below for additional details.
HP-UX 11i v3: June 2010 Web Release 1 Hewlett-Packard Company 1

Summary of content (12 pages)