View | Details | Raw Unified | Return to bug 53678
Collapse All | Expand All

(-)management/univention-management-console-module-udm/umc/python/udm/udm_ldap.py (-1 / +1 lines)
Lines 1167-1173 def ldap_dn2path(ldap_dn, include_rdn=True): Link Here
1167
		return ldap_dn
1167
		return ldap_dn
1168
	rel_path = ldap_dn[:-(1 + len(ldap_base))]
1168
	rel_path = ldap_dn[:-(1 + len(ldap_base))]
1169
	rel_path = explode_dn(rel_path, True)[int(not include_rdn):]
1169
	rel_path = explode_dn(rel_path, True)[int(not include_rdn):]
1170
	return '%s:/%s' % ('.'.join(reversed(explode_dn(ldap_base, True))), '/'.join(reversed(rel_path)))
1170
	return '%s:/%s' % ('.'.join(explode_dn(ldap_base, True)), '/'.join(reversed(rel_path)))
1171
1171
1172
1172
1173
def get_module(flavor, ldap_dn, ldap_connection=None, ldap_position=None):
1173
def get_module(flavor, ldap_dn, ldap_connection=None, ldap_position=None):
(-)management/univention-web/js/tools.js (-1 / +1 lines)
Lines 1732-1738 define([ Link Here
1732
			var dn_list = this.explodeDn( dn, true ).slice( 1 );
1732
			var dn_list = this.explodeDn( dn, true ).slice( 1 );
1733
1733
1734
			// format base
1734
			// format base
1735
			path = base_list.reverse().join( '.' ) + ':/';
1735
			path = base_list.join( '.' ) + ':/';
1736
			if ( dn_list.length ) {
1736
			if ( dn_list.length ) {
1737
				path += dn_list.reverse().join( '/' );
1737
				path += dn_list.reverse().join( '/' );
1738
			}
1738
			}

Return to bug 53678