Quick Actions
ldapdelete
Description
Delete entries from an LDAP directory.
Command
ldapdelete
Examples
Delete entry
ldapdelete -H ldap://localhost:389 -D "cn=admin,dc=example,dc=com" -w password "uid=john,ou=people,dc=example,dc=com"
Recursive delete
ldapdelete -H ldap://localhost:389 -D "cn=admin,dc=example,dc=com" -w password -r "ou=people,dc=example,dc=com"
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
-H |
string | No | LDAP server URI |
-D |
string | No | Bind DN |
-w |
string | No | Bind password |
-r |
string | No | Recursive delete |
Command Info
Category:
Modify Operations
Type:
Ldap
Views:
12
Status:
Active
Tags
delete
remove
entry