DC backup entfernen

Hallo,

ich versuche einen DC-Backup-Server zu entfernen, da dieser nicht mehr gebraucht wird.
Ich habe auf dem Master purge_s4_computer.py ausgeführt und bekomme eine Fehlermeldung:

root@ucs:~# /usr/share/univention-samba4/scripts/purge_s4_computer.py --computername=ucs-software
Really remove ucs-software from Samba 4? [y/N]: y
If you are really sure type YES and hit enter: YES
Ok, continuing as requested.

Traceback (most recent call last):
  File "/usr/share/univention-samba4/scripts/purge_s4_computer.py", line 323, in <module>
    purge_computer_with_DC_objects(ucr, binddn, bindpw, opts.computername)
  File "/usr/share/univention-samba4/scripts/purge_s4_computer.py", line 239, in purge_computer_with_DC_objects
    purge_s4_dns_records(ucr, binddn, bindpw, computername, NTDS_objectGUID, Domain_GUID, site_list)
  File "/usr/share/univention-samba4/scripts/purge_s4_computer.py", line 120, in purge_s4_dns_records
    objs = module.lookup(uldap_config, uldap_access, filter, superordinate=zone_obj, scope="domain", base=zone_position.getDn(), unique=True)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1570, in lookup
    filter_s = cls.lookup_filter(filter_s, lo)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1602, in lookup_filter
    filter_p.append_unmapped_filter_string(filter_s, cls.rewrite_filter, module.mapping)
  File "/usr/lib/pymodules/python2.7/univention/admin/filter.py", line 82, in append_unmapped_filter_string
    walk(filter_p, rewrite_function, arg=mapping)
  File "/usr/lib/pymodules/python2.7/univention/admin/filter.py", line 235, in walk
    expression_walk_function(filter, arg)
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/__init__.py", line 1643, in rewrite_filter
    univention.admin.mapping.mapRewrite(filter, mapping, dont_map_value=dont_map_value)
  File "/usr/lib/pymodules/python2.7/univention/admin/mapping.py", line 484, in mapRewrite
    v = filter.value if dont_map_value else mapping.mapValue(key, filter.value)
  File "/usr/lib/pymodules/python2.7/univention/admin/mapping.py", line 298, in mapValue
    return map_value(value) if map_value else value
  File "/usr/lib/pymodules/python2.7/univention/admin/handlers/dns/srv_record.py", line 114, in mapName
    return '_{0}._{1}'.format(*old[: 2])
IndexError: tuple index out of range

Woran liegt das? Was kann ich jetzt machen um den Backup-Server trotzdem zu entfernen?

Die Version des Master- und Backup-Servers ist 4.3-2 errata257.

Vielen Dank im voraus!

Grüße
Hannes

Hat keiner eine Idee?

Possibly fixed with e283/e285 from this bug.

/CV

1 Like

Thats right.
It worked after updating UCS.
Thanks a lot! :slight_smile:

Mastodon