Univention Bugzilla – Bug 33567
Change ou / cn name from upper- to lowercase not possible
Last modified: 2018-04-13 13:30:29 CEST
In UCS it is not possible to change a ou name (or container name) from lower to upper case and vice versa. root@master191:~# udm container/ou create --set name="ou-test1" Object created: ou=ou-test1,LDAP_BASE root@master191:~# udm container/ou create --set name="ou-test2" --position ou=ou-test1,LDAP_BASE Object created: ou=ou-test2,ou=ou-test1,LDAP_BASE root@master191:~# udm container/ou modify --dn ou=ou-test1,LDAP_BASE --set name=OU-Test1 LDAP Error: Moving not possible: old and new DN are identical. root@master191:~# ldapmodrdn -x -D cn=admin,$(ucr get ldap/base) -w $(</etc/ldap.secret) ou=ou-test1,LDAP_BASE ou=OU-Test1 -r Rename Result: Operation not allowed on non-leaf (66) Additional info: subtree rename not supported root@master191:~# A rename via Samba 4 is possible which results in a connector reject: root@master191:~# ldbrename -H /var/lib//samba/private/sam.ldb "OU=ou-test1,LDAP_BASE" "OU=OU-Test1,LDAP_BASE" Renamed 1 record root@master191:~#
One possible solution would be the move in three steps, from ou-test1 to an temporary object and than to OU-Test1.
*** This bug has been marked as a duplicate of bug 33482 ***