[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
New superior without new RDN
OpenLDAP 2.3.32
How do I move an entry to a new superior without changing the RDN as well?
I cannot find any examples of this (at least, none that works).
dn: uid=dhtest,dc=coreng,dc=com,dc=au
changeType: modDN
newRDN: dhtest
deleteOldRDN: 1
newSuperior: ou=systems,dc=coreng,dc=com,dc=au
-
Fails with:
ldapmodify: invalid format (line 6) entry:
"uid=dhtest,dc=coreng,dc=com,dc=au"
Failed to update entry.
as does:
dn: uid=dhtest,dc=coreng,dc=com,dc=au
changeType: modDN
newRDN: uid=dhtest
deleteOldRDN: 1
newSuperior: ou=systems,dc=coreng,dc=com,dc=au
-
I already discovered that I need "newRDN" i.e. just "newSuperior" won't
cut it.
Or must I use "ldapmodrdn", and risk a race condition if making several
changes to the same entry?
--
Dave Horsfall DTM VK2KFU daveh@ci.com.au Ph: +61 2 9552-5509 (d) -5500 (sw)
Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU