LDAP-UX Client Services B.05.00 Administrator's Guide
<uid_name>
Specifies the name of the user entry that you want to delete.
ldapugdel uses the configured LDAP search filter to discover
the entry to be removed, such as
(&(objectclass=posixAccount)(uid=name)). If more
than one entry matches this search filter, only the first
discovered entry is removed. You can specify only one of -D,
<uid_name> or <group_name> parameter on the command
line.
<group_name>
Specifies the name of the group entry that you want to delete.
The ldapugdel tool uses the configured LDAP search filter
to discover the entry to be removed, such as
(&(objectclass=posixGroup)(cn=name)). If more than
one entry matches this search filter, ldapugdel removes only
the first discovered entry. You can specify only one of -D,
<uid_name> or <group_name> parameter on the command
line.
-O [<protAttr>[,...]] Enables the ldapugdel tool to delete only the posixAccount
or posixGroup object class and associated attributes, without
deleting the entire user or group entry. With the -t passwd
option, the ldapugdel tool removes the posixAccount object
class and the following attributes:
• uidNumber
• gidNumber
• homeDirectory
• loginShell
• gecos
With the -t group option, the ldapugdel tool removes the
posixGroup object class and the following attributes:
• gidNumber
• memberUid
• userPassword
The <protAttr> list consists of one or more of the previous
attribute names separated by commas with no white space. If
you specify the <portAttr> list, ldapugdel will not remove
the specified attributes.
7.3 LDAP user and group management tools 263