Univention Bugzilla – Bug 28794
univention-dnsedit: Entfernen von srv-records funktioniert nicht
Last modified: 2018-04-13 13:32:25 CEST
Das Entfernen von srv-records mit univention-dnsedit ist momentan nicht möglich. ============================================================================= root@mas6:~# /usr/share/univention-directory-manager-tools/univention-dnsedit vrtp.awbn remove srv foo tcp 0 100 7389 master.fqdn E: failed The property Location is required ============================================================================= Phillip war so frei das Problem lokal auf meiner VM zu beheben, den Diff hänge ich an diesen Bug.
Created attachment 4715 [details] Diff
Ich habe das in der join.log eines Kunden beim AUsführen des samba4-dns Joinscripts gesehen: --- ... ... Adding SRV record "ldap._tcp.d86a00af-c046-4f73-b2ef-528f9f51e31a.domains msdcs 0 100 389 ucs-srv.kunde.local." to zone kunde.local... done Traceback (most recent call last): File "/usr/share/univention-admin-tools/univention-dnsedit", line 408, in <module> remove_srv_record(nargs) File "/usr/share/univention-admin-tools/univention-dnsedit", line 250, in remove_srv_record record['location']=l File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 214, in __setitem__ raise univention.admin.uexceptions.valueRequired, _('The property %s is required') % self.descriptions[key].short_description univention.admin.uexceptions.valueRequired: The property Location is required Adding SRV record "kerberos tcp 0 100 88 ucs-srv.kunde.local." to zone kunde.local... done ... ... ---
Erneut bei einem Kunden beobachtet: 2013020521000727, UCS 3.1 Adding SRV record "ldap._tcp.4791faf9-94eb-49c1-a8e9-e81732d119f3.domains msdcs 0 100 389 x.y.z.a.de." to zone x.y.z.a.de... done Traceback (most recent call last): File "/usr/share/univention-admin-tools/univention-dnsedit", line 408, in <module> remove_srv_record(nargs) File "/usr/share/univention-admin-tools/univention-dnsedit", line 250, in remove_srv_record record['location']=l File "/usr/lib/pymodules/python2.6/univention/admin/handlers/__init__.py", line 214, in __setitem__ raise univention.admin.uexceptions.valueRequired, _('The property %s is required') % self.descriptions[key].short_description univention.admin.uexceptions.valueRequired: The property Location is required
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2. As such, this bug is moved to the new target milestone.
*** This bug has been marked as a duplicate of bug 32592 ***