LDAP-UX Client Services B.05.01 Administrator Guide for HP directory servers and Windows ADS

field2: value2
...
Each entry is preceded by a DN, followed by one or more field-value pairs. The DN and each
field-value pair are on a separate line, separated by a carriage-return and line-feed character. The
field and value are separated by a colon and a space character. Each entry is separated by a
blank line. If an unencodable character is encountered (carriage-return or line-feed for example)
in a value string, the whole value is base64 encoded and the field-value separator is changed to
two colons and a space character.
When you specify the -t passwd option, ldapuglist displays the following fields for a user
entry:
cn
uid
userPassword
uidNumber
gidNumber
homeDirectory
loginShell
gecos
When you specify the -t group option, ldapuglist displays the following fields for a group
entry:
cn
userPassword
gidNumber
memberUid
When you specify the -m option, the output format for both users and groups is changed to the
following:
dn: dn1
field1[attribute1]: value1
field2[attribute2]: value2
field3[attribute3]:: base64-encodeded-value3
...
9.3.4.5 Special considerations for output format
This section describes special considerations for the output format from ldapuglist.
9.3.4.5.1 Multi-values attributes
Although some of the attributes used in LDAP directory servers are multi-valued attributes, the
ldapuglist tool displays only the first value discovered for each RFC 2307 attribute for each
entry, because these fields appear only once in a POSIX account or group. For nonRFC 2307
attributes (those specified via the <attr> argument list), if the attribute is multi-valued, ldapuglist
displays multiple values. This rule does not apply to the memberUid field because POSIX groups
can have multiple members.
Because the gecos attribute can be mapped to multiple attributes, the gecos field can appear
multiple times in an entry if you use the -m option, once for each mapped attribute. For example,
if the gecos attribute is mapped to cn, l and telephoneNumber, ldapuglist displays once
for each mapped attribute as follows:
292 Command and tool reference