|
1028 |
|
1028 |
|
1029 |
ucs_module = self.modules[property_type] |
1029 |
ucs_module = self.modules[property_type] |
1030 |
position=univention.admin.uldap.position(self.lo.base) |
1030 |
position=univention.admin.uldap.position(self.lo.base) |
1031 |
position.setDn(object['dn']) |
1031 |
position.setDn(object['dn'], case_sensitive_base=False) |
1032 |
univention.admin.modules.init(self.lo,position,ucs_module) |
1032 |
univention.admin.modules.init(self.lo,position,ucs_module) |
1033 |
|
1033 |
|
1034 |
if hasattr(ucs_module, 'ldap_extra_objectclasses'): |
1034 |
if hasattr(ucs_module, 'ldap_extra_objectclasses'): |
|
1088 |
if ucs_object.has_key(ucs_key): |
1088 |
if ucs_object.has_key(ucs_key): |
1089 |
ucs_module = self.modules[property_type] |
1089 |
ucs_module = self.modules[property_type] |
1090 |
position=univention.admin.uldap.position(self.lo.base) |
1090 |
position=univention.admin.uldap.position(self.lo.base) |
1091 |
position.setDn(object['dn']) |
1091 |
position.setDn(object['dn'], case_sensitive_base=False) |
1092 |
univention.admin.modules.init(self.lo,position,ucs_module) |
1092 |
univention.admin.modules.init(self.lo,position,ucs_module) |
1093 |
|
1093 |
|
1094 |
# Special handling for con other attributes, see Bug #20599 |
1094 |
# Special handling for con other attributes, see Bug #20599 |
|
1355 |
|
1355 |
|
1356 |
if object['dn'].lower() != self.baseConfig['ldap/base'].lower(): |
1356 |
if object['dn'].lower() != self.baseConfig['ldap/base'].lower(): |
1357 |
try: |
1357 |
try: |
1358 |
position.setDn( string.join( ldap.explode_dn( object['dn'] )[1:], "," ) ) |
1358 |
position.setDn( string.join( ldap.explode_dn( object['dn'] )[1:], "," ), case_sensitive_base=False) |
1359 |
ud.debug(ud.LDAP, ud.INFO, |
1359 |
ud.debug(ud.LDAP, ud.INFO, |
1360 |
'sync_to_ucs: set position to %s' % string.join( ldap.explode_dn( object['dn'] )[1:], "," ) ) |
1360 |
'sync_to_ucs: set position to %s' % string.join( ldap.explode_dn( object['dn'] )[1:], "," ) ) |
1361 |
except univention.admin.uexceptions.noObject: |
1361 |
except univention.admin.uexceptions.noObject: |