Rejected dns

german

#1

Hallo,

S4- connector rejected einen Eintrag:

[code]root@kvmsrv:~# univention-s4connector-list-rejected

UCS rejected

S4 rejected

1:    S4 DN: DC=_VLMCS._TCP,DC=domain.local,CN=MicrosoftDNS,CN=System,DC=domain,DC=local
     UCS DN: <not found>

    last synced USN: 8133[/code]

Log- File sagt:

13.12.2013 09:18:14,521 LDAP (PROCESS): sync to ucs: Resync rejected dn: DC=_VLMCS._TCP,DC=domain.local,CN=MicrosoftDNS,CN=System,DC=domain,DC=local 13.12.2013 09:18:14,524 LDAP (PROCESS): sync to ucs: [ dns] [ add] DC=_VLMCS._TCP,dc=domain.local,cn=dns,dc=domain,dc=local 13.12.2013 09:18:14,528 LDAP (ERROR ): Unknown Exception during sync_to_ucs 13.12.2013 09:18:14,529 LDAP (ERROR ): Traceback (most recent call last): File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", line 1301, in sync_to_ucs result = self.property[property_type].ucs_sync_function(self, property_type, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line 964, in con2ucs ucs_srv_record_create(s4connector, object) File "/usr/lib/pymodules/python2.6/univention/s4connector/s4/dns.py", line 667, in ucs_srv_record_create newRecord.create() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 332, in create return self._create() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 603, in _create self._ldap_pre_create() File "/usr/lib/pymodules/python2.6/univention/admin/handlers/dns/srv_record.py", line 148, in _ldap_pre_create self.dn='%s=%s,%s' % (mapping.mapName('name'), mapping.mapValue('name', self['name']), self.position.getDn()) File "/usr/lib/pymodules/python2.6/univention/admin/mapping.py", line 178, in mapValue res=self._map[map_name][1](value) File "/usr/lib/pymodules/python2.6/univention/admin/handlers/dns/srv_record.py", line 108, in mapName return '_{0}._{1}'.format( *old[ : 2 ] ) IndexError: tuple index out of range

Auflösbar ist dieser Eintrag:

[code]root@kvmsrv:~# dig srv _vlmcs._TCP.domain.local @localhost

; <<>> DiG 9.8.0-P4 <<>> srv _vlmcs._TCP.domain.local @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 24847
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4

;; QUESTION SECTION:
;_vlmcs._TCP.domain.local. IN SRV

;; ANSWER SECTION:
_vlmcs._TCP.domain.local. 3600 IN SRV 0 0 1688 CSBSRV01.domain.local.

;; AUTHORITY SECTION:
domain.local. 900 IN NS vmdatensrv.domain.local.
domain.local. 900 IN NS vmmailsrv.domain.local.
domain.local. 900 IN NS kvmsrv.domain.local.

;; ADDITIONAL SECTION:
CSBSRV01.domain.local. 1200 IN A 192.168.0.10
kvmsrv.domain.local. 900 IN A 192.168.0.15
vmdatensrv.domain.local. 900 IN A 192.168.0.16
vmmailsrv.domain.local. 900 IN A 192.168.0.17

;; Query time: 3 msec
;; SERVER: ::1#53(::1)
;; WHEN: Fri Dec 13 09:18:57 2013
;; MSG SIZE rcvd: 213[/code]

[code]root@kvmsrv:~# univention-s4search dc=_vlmcs._TCP

record 1

dn: DC=_VLMCS._TCP,DC=domain.local,CN=MicrosoftDNS,CN=System,DC=domain,DC=local
objectClass: top
objectClass: dnsNode
instanceType: 4
whenCreated: 20131129154353.0Z
whenChanged: 20131129154353.0Z
uSNCreated: 4765
uSNChanged: 4765
showInAdvancedViewOnly: TRUE
name: _VLMCS._TCP
objectGUID: 28e09015-04ac-4dd8-892d-20c62d825e69
dnsRecord:: HQAhAAXwAAA+AAAAAAAOEAAAAACvOjcAAAAAAAaYFQMIQ1NCU1JWMDEEcGlsegVsb2
NhbAA=
objectCategory: CN=Dns-Node,CN=Schema,CN=Configuration,DC=domain,DC=local
dc: _VLMCS._TCP
distinguishedName: DC=_VLMCS._TCP,DC=domain.local,CN=MicrosoftDNS,CN=System,DC=p
ilz,DC=local[/code]

Installiert ist UCS3.2

Bug??


#2

Hallo,

um die Ursache besser eingrenzen zu können, wäre es gut wenn Sie das Debuglevel des Connectors temporär erhöhen könnten.

ucr set connector/debug/level=4 invoke-rc.d univention-s4-connector restart

Entsprechende Hinweise sollten sich anschließend in der Logdatei /var/log/univention/connector-s4.log finden lassen.
Lassen Sie uns die Datei im Zweifel gern zukommen.

Anschließend sollte das Loglevel aufgrund der Datenmengen wieder herabgesetzt werden:

ucr set connector/debug/level=2 invoke-rc.d univention-s4-connector restart

Mit freundlichen Grüßen,
Tim Petersen