David, I've committed various changes related to this. Everybody please test. Despite the corner-cases listed before ldap.explode_dn() and ldap.explode_rdn() should work nearly as before. Ciao, Michael.