Hide Forgot
ipalib/dn.py was recently introduced to improve handing of LDAP DN's by introducing the DN, RDN & AVA object classes. The majority of the code still utilizes simple string handling to define and manipulate dn's. There are known problems with using simple string handling with dn's the new classes are meant to correct. We need to go through the code and start to use the new classes. An excellent starting point would be to redefine the LDAP containers defined in constants.py and basedn to be DN objects instead of strings. Then the entire tree should be searched for each reference to the modified constant and verify the dn's are being used properly. This will likely mean assuring DN object operators are being utilized instead of raw string handling. Upstream ticket: https://fedorahosted.org/freeipa/ticket/1392
Please add steps to reproduce this issue .. thanks
Much of this DN work is behind the scenes optimization but currently handling could be problematic if non-ascii characters are used in a role, permission or privilege name, for example.
Some entries use a uuid in the DN instead of the name so will not be affected. This includes HBAC rules, Sudo rules, netgroups and hostgroups.
This is an upstream improvement.