[Date Prev][Date Next]
»Ø¸´: Problem with ldapmodrdn
you are misunderstanding the ldapmodren tool, this interface of OpenLDAP
only changed the rdn but not dn, so you do "o" part failed ,but "cn" part
right . if you want to change the "o" part ,you must use command like below:
ldapmodrdn <other stuff to bind> -r 'o=Oxspring,b=addressbook' 'o=HRBS'
you can refer the manual for detail , use below command:
Lucky :P) by China,X.D.Chen
·¢¼þÈË: Chris Andrew <firstname.lastname@example.org>
ÊÕ¼þÈË: OpenLdap <openldap-software@OpenLDAP.org>
ÈÕÆÚ: 2001Äê4ÔÂ9ÈÕ 3:37
Ö÷Ìâ: Problem with ldapmodrdn
>I'm having problems using ldapmodrdn.
>I have a record with the following dn:
>"cn=Chris Andrew, o=Oxspring, b=addressbook"
>If I want to modify the "o" part, I would imagine I could use
>ldapmodrdn <other stuff to bind> -r 'cn=Chris Andrew, o=Oxspring,
>However, this returns the following error:
>ldap_modrdn2_s: Object class violation
>The above works ok if I want to change the "cn" part - so why can't I
>the "o" part?