Univention Bugzilla – Attachment 7496 Details for
Bug 36775
bind exits with fatal error if {0,127,255}.in-addr.arpa exists in LDAP
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
36775.patch (text/plain), 1.29 KB, created by
Florian Best
on 2016-02-23 14:22:42 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2016-02-23 14:22:42 CET
Size:
1.29 KB
patch
obsolete
>diff --git a/management/univention-directory-manager-modules/modules/univention/admin/syntax.py b/management/univention-directory-manager-modules/modules/univention/admin/syntax.py >index ba336ed..0fc9e04 100644 >--- a/management/univention-directory-manager-modules/modules/univention/admin/syntax.py >+++ b/management/univention-directory-manager-modules/modules/univention/admin/syntax.py >@@ -1237,6 +1237,13 @@ class reverseLookupSubnet(simple): > regex = re.compile(r'^((%s)|(%s))$' % (regex_IPv4, regex_IPv6, )) > 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")') > >+ @classmethod >+ def parse(cls, text): >+ text = super(reverseLookupSubnet, cls).parse(text) >+ if text in ('0', '127', '255'): >+ raise univention.admin.uexceptions.valueError(_("The subnets 0, 127 and 255 are preserved.")) >+ return text >+ > class reverseLookupZoneName(simple): > # <- IPv6 reverse zone -> <- IPv4 reverse zone -> > # nibble dot-separated ...arpa <- 0-255 -> dot-separated .arpa
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 36775
: 7496