LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS
The following command displays the nonPOSIX attributes defined in the default template file, /etc/
opt/ldapux/ug_templates/ug_passwd_std.tmpl, required by the ldapugadd command
for the passwd name service:
./ldapcfinfo -t passwd -R
The output of the command is as follows:
surname
The following command displays the list of available template files for the passwd name service:
./ldapcfinfo -t passwd -L
Assume that /etc/opt/ldapux/ug_templates/ug_passwd_std.tmpl, /etc/opt/ldapux/
ug_templates/ug_passwd_default.tmpl /etc/opt/ldapux/ug_templates/
ug_passwd_ads.tmpl are currently available on the system, the output of the command is as
follows:
/etc/opt/ldapux/ug_templates/ug_passwd_ads.tmpl
/etc/opt/ldapux/ug_templates/ug_passwd_std.tmpl
/etc/opt/ldapux/ug_templates/ug_passwd_default.tmpl
The following command displays the LDAP default configuration values in the /etc/opt/ldapux/
ldapug.conf file used for the ldapugadd tool:
./ldapcfinfo -t passwd -D
The following is output of the preceding command:
uidNumber_range=100:20000
default_gidNumber=20
default_homeDirectory=/home
default_loginShell=/usr/bin/sh
The following command displays the LDAP default configuration values in the /etc/opt/ldapux/
ldapug.conf file for the group name service:
./ldapcfinfo -t group -D
The output of the command follows:
gidNumber_range=100:2000
The following command displays the recommended list of attributes that an interactive management
tool considers making available for modification for the user account entry with the distinguished
name, “cn=slouie,ou=people,ou=org,dc=example,dc=com”:
./ldapcfinfo -t passwd -a "cn=slouie,ou=people,ou=org,dc=example,dc=com"
The output of the command follows:
cn
uid
uidnumber
gidnumber
loginshell
homedirectory
gecos
description
9.4 LDAP directory tools
This section briefly describes the ldapentry, ldappasswd, ldapsearch, ldapmodify and
ldapdelete.
For detailed information about ldapsearch, ldapmodify, and ldapdelete, see the HP-UX
Directory Server administrator guide available at:
http://www.hp.com/go/hpux-security-docs
Click HP-UX Directory Server.
9.4 LDAP directory tools 353