PingDirectory

Deleting an attribute

Steps

  1. To delete an attribute, run the ldapmodify tool with the LDIF delete subcommand.

    Example:

    $ bin/ldapmodify -h server.example.com -p 389 -D "cn=admin,dc=example,dc=com" \
      -w password
    dn: uid=user.2004,ou=People,dc=example,dc=com
    changetype: modify
    delete: employeeNumber