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

(-)a/services/univention-s4-connector/modules/univention/s4connector/__init__.py (-1 / +2 lines)
 Lines 1534-1540   class ucs: Link Here 
1534
			result = False
1534
			result = False
1535
			if object['modtype'] == 'add':
1535
			if object['modtype'] == 'add':
1536
				ud.debug(ud.LDAP, ud.INFO, "sync_to_ucs: lock S4 guid: %s" % guid)
1536
				ud.debug(ud.LDAP, ud.INFO, "sync_to_ucs: lock S4 guid: %s" % guid)
1537
				self.lockingdb.lock_s4(guid)
1537
				if not self.lockingdb.is_s4_locked(guid):
1538
					self.lockingdb.lock_s4(guid)
1538
1539
1539
			if hasattr(self.property[property_type], "ucs_sync_function"):
1540
			if hasattr(self.property[property_type], "ucs_sync_function"):
1540
				result = self.property[property_type].ucs_sync_function(self, property_type, object)
1541
				result = self.property[property_type].ucs_sync_function(self, property_type, object)
(-)a/services/univention-s4-connector/modules/univention/s4connector/s4/__init__.py (-1 / +2 lines)
 Lines 2512-2518   class s4(univention.s4connector.ucs): Link Here 
2512
			ud.debug(ud.LDAP, ud.INFO, "sync_from_ucs: add object: %s" % object['dn'])
2512
			ud.debug(ud.LDAP, ud.INFO, "sync_from_ucs: add object: %s" % object['dn'])
2513
2513
2514
			ud.debug(ud.LDAP, ud.INFO, "sync_from_ucs: lock UCS entryUUID: %s" % entryUUID)
2514
			ud.debug(ud.LDAP, ud.INFO, "sync_from_ucs: lock UCS entryUUID: %s" % entryUUID)
2515
			self.lockingdb.lock_ucs(entryUUID)
2515
			if not self.lockingdb.is_ucs_locked(entryUUID):
2516
				self.lockingdb.lock_ucs(entryUUID)
2516
2517
2517
			self.addToCreationList(object['dn'])
2518
			self.addToCreationList(object['dn'])
2518
2519

Return to bug 49646