Bug 56768 - S4-connector reject for glue record during sync from Samba to OpenLDAP
S4-connector reject for glue record during sync from Samba to OpenLDAP
Status: NEW
Product: UCS
Classification: Unclassified
Component: DNS
UCS 5.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-10-24 15:35 CEST by Arvid Requate
Modified: 2023-10-24 22:15 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.034
Enterprise Customer affected?: Yes
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023101621000182
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Requate univentionstaff 2023-10-24 15:35:04 CEST
S4-connector reject for glue record during sync from Samba to OpenLDAP:

==================
root@primary:~/univention-support# univention-s4connector-list-rejected

UCS rejected


S4 rejected

    1:    S4 DN: DC=123,DC=0.10.in-addr.arpa,CN=MicrosoftDNS,DC=DomainDnsZones,DC=domain,DC=net
         UCS DN: <not found>

==================
dn: DC=123,DC=0.10.in-addr.arpa,CN=MicrosoftDNS,DC=DomainDnsZones,DC=domain,DC=net
objectClass: top
objectClass: dnsNode
instanceType: 4
whenCreated: 20231013214148.0Z
whenChanged: 20231013214148.0Z
uSNCreated: 15592
showInAdvancedViewOnly: TRUE
name: 123
objectGUID: e5e39d32-370e-4464-a45c-b6d1dddcac06
objectCategory: CN=Dns-Node,CN=Schema,CN=Configuration,DC=domain,DC=net
dc: 123
dnsRecord:     NDR: struct dnsp_DnssrvRpcRecord
        wDataLength              : 0x0015 (21)
        wType                    : DNS_TYPE_NS (2)
        version                  : 0x05 (5)
        rank                     : DNS_RANK_NS_GLUE (130)
        flags                    : 0x0000 (0)
        dwSerial                 : 0x000000b6 (182)
        dwTtlSeconds             : 0x00000e10 (3600)
        dwReserved               : 0x00000000 (0)
        dwTimeStamp              : 0x00000000 (0)
        data                     : union dnsRecordData(case 2)
        ns                       : primary.domain.net
==================
Comment 1 Florian Best univentionstaff 2023-10-24 19:46:13 CEST
What is the related traceback which caused the reject?
Comment 2 Julia Bremer univentionstaff 2023-10-24 21:34:37 CEST
 3.10.2023 23:41:50.217 LDAP        (PROCESS): sync AD > UCS: [           dns] [       add] 'relativeDomainName=140,zoneName=2.10.in-addr.arpa,cn=dns,dc=xxxx,dc=local'
13.10.2023 23:41:50.222 LDAP        (ERROR  ): Unknown Exception during sync_to_ucs
13.10.2023 23:41:50.224 LDAP        (ERROR  ): Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/univention/s4connector/__init__.py", line 1466, in sync_to_ucs
    result = self.property[property_type].ucs_sync_function(self, property_type, object)
  File "/usr/lib/python3/dist-packages/univention/s4connector/s4/dns.py", line 1638, in con2ucs
    ucs_ns_record_create(s4connector, object)
  File "/usr/lib/python3/dist-packages/univention/s4connector/s4/dns.py", line 1284, in ucs_ns_record_create
    newRecord.create()
  File "/usr/lib/python3/dist-packages/univention/admin/handlers/__init__.py", line 555, in create
    self.ready()
  File "/usr/lib/python3/dist-packages/univention/admin/handlers/__init__.py", line 334, in ready
    self._validate_superordinate(True)
  File "/usr/lib/python3/dist-packages/univention/admin/handlers/__init__.py", line 1037, in _validate_superordinate
    raise univention.admin.uexceptions.noSuperordinate(_('No superordinate object given'))
Comment 3 Florian Best univentionstaff 2023-10-24 22:15:27 CEST
See also Bug #49880