Univention Bugzilla – Bug 39161
S4-Connector doesn't remove DDNS-deleted objects in UDM
Last modified: 2019-01-03 07:17:28 CET
Created attachment 7102 [details] fix_dns_object_removal.patch When a DNS record is removed via DDNS (e.g. nsupdate), they don't get removed in UDM/OpenLDAP. There are two issues that block this: The main one is, that Samba4/AD doesn't actually delete the objects in this case, but changes their type (wType) to DNS_TYPE_TOMBSTONE (See also Bug 38713). Additionally, even if the object would be detected as removed, then some small code issues would cause a traceback. See the attached patch. To fix the DNS_TYPE_TOMBSTONE I had to make use of the s4cache, to be able to identify the type of DNS object. The patch could be simplified by passing guid and old_s4_object from sync_to_ucs to the ucs_sync_function.
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.