Univention Bugzilla – Bug 35780
Traceback while creating SRV record from AD
Last modified: 2017-08-08 07:11:07 CEST
Split from Bug #34184 > (c3) > > 24.02.2014 12:58:03,820 LDAP (PROCESS): sync to ucs: Resync rejected > dn: > DC=_ldap._tcp.DomainDnsZones,DC=test.fb,CN=MicrosoftDNS,DC=DomainDnsZones, > DC=test,DC=fb > 24.02.2014 12:58:03,823 LDAP (PROCESS): sync to ucs: [ > dns] [ add] > DC=_ldap._tcp.DomainDnsZones,dc=test.fb,cn=dns,dc=test,dc=fb > 24.02.2014 12:58:03,825 LDAP (ERROR ): Unknown Exception during > sync_to_ucs > 24.02.2014 12:58:03,825 LDAP (ERROR ): Traceback (most recent call > last): > File "/usr/lib/pymodules/python2.6/univention/s4connector/__init__.py", > line 1292, 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 333, in create > return self._create() > File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", > line 654, 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 149, > 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 > > See http://forum.univention.de/viewtopic.php?f=48&t=3103&p=10934 for a > possible patch for (c3).
Happend again in UCS@school jenkins test environment.
Be careful with that forum patch, see Bug 40937
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4. If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
This issue has been filed against UCS 3.2. UCS 3.2 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.