LDAP-UX Client Services B.05.00 Administrator's Guide
Assume that the automount service is not configured for LDAP-UX support, below is the output
of the above command:
WARNING: CFI_CONFIG_FAILURE:
"automount" service not configured for LDAP-UX support
5.5.8.2 Listing available templates
Use the ldapcfinfo -t <type> -L command to display a list of available templates. The
valid <type> value can be passwd or group.
Run the following command to display a list of available template files that ldapugadd uses to
create a new user entry for the passwd name service:
./ldapcfinfo -t passwd -L
Assume that the /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 files are currently available on the system, the output of the above
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
Run the following command to display a list of available template files that ldapugadd uses to
a group entry for the group name service:
./ldapcfinfo -t group -L
Assume that the /etc/opt/ldapux/ug_templates/ug_group_std.tmpl, /etc/opt/
ldapux/ug_templates/ug_group_default.tmpl /etc/opt/ldapux/ug_templates/
ug_group_ads.tmpl files are currently available on the system, the output of the above
command is as follows:
/etc/opt/ldapux/ug_templates/ug_group_ads.tmpl
/etc/opt/ldapux/ug_templates/ug_group_std.tmpl
/etc/opt/ldapux/ug_templates/ug_group_default.tmpl
5.5.8.3 Discovering required attributes
Use the ldapcfinfo -t <type> -R command to discover what attributes defined in a template
file are required to create a new user or group entry. Because the RFC 2307 POSIX attributes are
a static known list and are required, ldapcfinfo displays only non-POSIX attributes. The valid
<type> value can be passwd or group.
The following command displays the non-POSIX attributes defined in the default template file,
/etc/opt/ldapux/ug_tempates/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
5.5.8.4 Displaying configuration defaults
Use the ldapcfinfo -t <type> -D command to display the LDAP default values in the
/etc/opt/ldapux/ldapug.conf file used for the ldapugadd command. The valid <type>
value can be passwd or group. If you specify the -t password -D option, ldapcfinfo
displays UID range, default primary GID number, default home directory and default login shell
information. The -t group -D option displays the GID range.
Run the following command to display the LDAP default values in the /etc/opt/ldapux/
ldapug.conf file:
./ldapcfinfo -t passwd -D
Below is the output of the above command for the passwd name service:
172 Administering LDAP-UX Client Services