LDAP-UX Client Services B.05.00 Administrator's Guide
The output is as follows:
dn: cn=groupB,ou=groups,dc=example,dc=com
cn: groupB
gidNumber: 620
memberUid: user1
memberUid: user3
memberUid: user5
Command arguments
The following describes the ldapuglist options/arguments used in the above examples:
-t <type> Specifies the type of entry the ldapuglist tool needs to discover and process.
<type> can be passwd or group. The passwd type indicates
posixAccount-type entries. The group type indicates posixGroup-type entries.
-n <name> Specifies a single account or group name. Use of -n is the same as -f
“(uid=<name>)” for accounts and -f “(cn=<name>)” for groups.
-f <filter> Specifies an LDAP-style search filter, <filter>, used to select specific entries
from the LDAP directory server. When you use the -f option, the filter
specified by <filter> applies to Posix-style users or groups (depending on
whether you specify the -t passwod or -t group option).
-m
Displays the names of the mapped attributes when returning results.
5.5.4 Adding a user or a group
When adding user or group entries to the LDAP directory server, the ldapugadd tool uses
template files to discover the required data models for a new user and group entry. Template
files define what object classes and attributes are required to create new user and group entries.
LDAP-UX provides the flexibility that allows you to define unique data models for user and
group entries. LDAP-UX supports two default template files (for passwd and group services)
for a standard LDAP directory server, along with two default template files for Windows Active
Directory Server. These template files can be found under /etc/opt/ldapux/ug_templates
directory. For detailed information on how to define template files and how to name and create
template files, see Section 7.3.5.6 (page 242).
The ldapugadd tool uses a local configuration file, /etc/opt/ldapux/ldapug.conf, to
manage the default values of the uidNumber_range, gidNumber_range, user_gidNumber,
default_homeDirectory and default_loginShell parameters when creating user or
group entries for an LDAP directory server. See Section 7.3.5.5 (page 241) for details.
5.5 Managing users and groups 163