LDAP-UX Client Services B.04.15 Administrator's Guide
./ldapugdel -t passwd -h ldapsrvA:389 astein
Run the following command to delete the entire user account entry, msmart:
./ldapugdel -t passwd msmart
Run the following command to delete the entire group entry with the Distinguished Name,
“cn=group1,ou=groups,dc=example,dc=com":
./ldapugdel -t group -D "cn=group1,ou=groups,dc=example,dc=com"
Run the following command to delete only the posixAccount object class and associated attributes,
uidnumber, gidNumber, homeDirectory, loginShell and gecos, without delete the entire
user entry, msmith:
./ldapugdel -t passwd -O msmith
Run the following command to delete only the posixAccount object class and associated attributes,
uidnumber, gidNumber and gecos, without delete the entire user entry, mlee:
./ldapugdel -t passwd -O "homeDirectory,loginShell" mlee
Run the following command to delete only the posixGroup object class and associated attributes,
gidNumber, memberUid and userPassword, without delete the entire group entry, groupA:
./ldapugdel -t group -O groupA
The following command forces ldapugdel to remove the common uid, cn and description
attributes from the user entry, jswartz:
./ldapugdel -t passwd -O -x jswartz
Run the following commands to unset the LDAP_BINDDN and LDAP_BINDCRED environment
variables:
unset LDAP_BINDDN unset
LDAP_BINDCRED
190 Command and Tool Reference