Quick Actions
ldapmodrdn
Description
Modify the RDN of an LDAP entry.
Command
ldapmodrdn
Examples
Modify RDN
ldapmodrdn -H ldap://localhost:389 -D "cn=admin,dc=example,dc=com" -w password "uid=john,ou=people,dc=example,dc=com" -n "uid=jane" -r
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
-H |
string | No | LDAP server URI |
-D |
string | No | Bind DN |
-w |
string | No | Bind password |
-r |
string | No | Remove old RDN |
-n |
string | No | New RDN |
Command Info
Category:
Modify Operations
Type:
Ldap
Views:
12
Status:
Active
Tags
modify
rdn
rename