LDAP-UX Client Services B.05.00 with Microsoft Windows Active Directory Server Administrator's Guide (obsolete beyond B.05.00)
/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
6.7.8.3 Discovering required attributes
Use the ldapcfinfo -t <type> -R command to find 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 required attributes defined in the default template file, /etc/
opt/ldapux/ug_templates/ug_passwd_ads.tmpl, when creating a new user to a Windows
ADS:
./ldapcfinfo -t passwd -R
6.7.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 passwd -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:
uidNumber_range=100:20000
default_gidNumber=20
default_homeDirectory=/home
default_loginShell=/usr/bin/sh
Run the following command to display the LDAP default configuration values in the /etc/opt/
ldapux/ldapug.conf file for the group name service:
./ldapcfinfo -t group -D
Below is the output of the above command:
gidNumber_range=100:2000
6.7.8.5 Displaying the LDAP-UX profile's DN
Run the following command to display the location of the LDAP-UX configuration profile:
./ldapcfinfo -P
The output of the command is as follows:
dn: cn=ldapux-profile,cn=system,dc=org,dc=example,dc=com
host: 55.5.55.15:389
If SSL is required to download the profile, the output of the command is as follows:
6.7 User and group management 127