LDAP-UX Client Services B.04.15 Administrator's Guide
The following command displays the LDAP-UX default search base for the group name service.
In this example, “ou=Groups,” has been configured as the search base for the group name service.
./ldapcfinfo -t group -b
The output of the command is as follows
ou=Groups,ou=org,dc=example,dc=com
The following command displays the location of the LDAP-UX configuration profile:
./ldapcfinfo -P
The output of the command is as follows:
dn: cn=ldapux-profile,ou=org,dc=example,dc=com
host: 55.2.22.15:389
If SSL is required to download the profile, the output appears as follows:
dn: cn=ldapux-profile,ou=org,dc=example,dc=com
hostssl: 55.2.22.15:636
The following command displays the non-POSIX 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 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
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
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
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
Below is the output of the command:
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"
Below is the output of the command:
cn uid uidnumber
gidnumber loginshell homedirectory gecos description
6.3 LDAP User and Group Management Tools 195