LDAP-UX Client Services B.04.15 with Microsoft Windows Active Directory Server Administrator's Guide (edition 8)

Table Of Contents
./ldapugdel -t passwd msmart
Run the following command to delete the entire group entry with the Distinguished Name,
cn=group1,ou=groups,dc=org,dc=example,dc=com":
./ldapugdel -t group -D "cn=group1,ou=groups,dc=org,dc=example,dc=com"
In this example, ldapugdel is used to access a Windows 2003 R2 Active Directory Server with
R2's RFC 2307 schema installed. The following command deletes only the posixAccount object
class and associated attributes, uidnumber, gidNumber, loginShell and gecos, without
delete the entire user entry, msmith:
./ldapugdel -t passwd -O msmith
In this example, ldapugdel is used to access a Windows 2003 R2 Active Directory Server with
R2's RFC 2307 schema installed. The following command deletes only the posixAccount object
class and associated attributes, uidnumber, gidNumber and gecos, without delete the entire
user entry, mlee:
./ldapugdel -t passwd -O "loginShell" mlee
In this example, ldapugdel is used to access a Windows 2003 R2 Active Directory Server with
R2's RFC 2307 schema installed. The following command deletes only the posixGroup object
class and associated attributes, gidNumber, memberUid and userPassword, without delete
the entire group entry, groupA:
./ldapugdel -t group -O groupA
In this example, ldapugdel is used to access a Windows 2003 R2 Active Directory Server with
R2's RFC 2307 schema installed. 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
218 Command, Tool, Schema Extension Utility, and Migration Script Reference