Univention Bugzilla – Bug 34131
IPv6: Tooltip bei »Reverse-Zone anlegen« für IPv6 minimal falsch
Last modified: 2017-04-04 18:29:11 CEST
Der Tooltip sagt, dass mit 0en aufgefüllt werden muss. Das angeführte Beispiel tut das aber gerade nicht: »2001:0db8:010« (fehlende 0 im letzten Block).
I guess the bug is about the following message from management/univention-directory-manager-modules/modules/univention/admin/syntax.py:1345: > error_message = _('A subnet for reverse lookup consists of the first one to three parts of an IPv4 address (example: "192.168.0") or of the first 1 to 31 nibbles of an IPv6 address with leading zeroes and without :: substitution (example: "2001:0db8:010")') In German its > "Ein Subnetz für den Reverse Lookup besteht aus den ersten 1 bis 3 Teilen " > "einer IPv4-Adresse (z.B. \"192.168.0\") oder den ersten 1 bis 31 Nibbles " > "einer IPv6-Adresse mit führenden Nullen und ohne die :: Ersetzung (z.B. " > "\"2001:0db8:010\")" That is all correct. What might be misleading is the confusion about 'leading 0s' vs. 'trailing 0s': Normally 1:2:3:4:5:6:7:8 is a short-hand for 0001:0002:0003:.... and not 1000:2000:3000:... $ python -c 'import ipaddr;print ipaddr.IPv6Address("1:2:3:4:5:6:7:8").exploded' 0001:0002:0003:0004:0005:0006:0007:0008 To protect from this error UMC requires you to enter the "leading 0s", as UMC has interest only for the network nibbles, but not the host nibbles. There is nothing wrong with striping *trailing* 0s - this is even required as the prefix length only must be a multiple of 4, not of 16. So "2001:0db8:010" is the /44 subnet: $ python -c 'import ipaddr;print ipaddr.IPv6Network("2001:0db8:100::/44").compressed' 2001:db8:100::/44 "2001:0db8:0100" would be the /48 subnet.
I see. The examples would be much clearer if the netmasks where given as well, e.g. "2001:0db8:010 for the network 2001:0db8:0100::/44 or 2001:0db8:0100 for 2001:0db8:0100::/48".
r74100 | Bug #34131 udm: Improve help for reverseLookupSubnet Package: univention-directory-manager-modules Version: 12.0.5-2A~4.2.0.201611041015 Branch: ucs_4.2-0
Thanks :)
LGTM OK: Changelog entry
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".