On 09/06/2012 11:51 AM, Martin Kosek wrote:
Loopback address, "localhost" and "localnets" ACIs are no longer an issue for bind-dyndb-ldap. Allow them in our validators.
Martin's patch works and looks good - ACK. Attaching patch for Web UI part. -- Petr Vobornik
From 6777b81c95d0e34f216954a59341679471a8d134 Mon Sep 17 00:00:00 2001 From: Petr Vobornik <pvobo...@redhat.com> Date: Thu, 6 Sep 2012 13:22:21 +0200 Subject: [PATCH] Allow localhost in zone ACIs - Web UI Loopback address, "localhost" and "localnets" ACIs are no longer an issue for bind-dyndb-ldap. Allow them in our Web UI validators as well. --- install/ui/dns.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/install/ui/dns.js b/install/ui/dns.js index 33db481b84c0518ec1b326f8b016a8e487e3120b..43703e03f3e6dc4061f52d1f865db85b0e9c8502 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -168,11 +168,8 @@ IPA.dns.zone_entity = function(spec) { type: 'netaddr', name: 'idnsallowquery', validators: [ - IPA.unsupported_validator({ - unsupported: ['localhost', 'localnets'] - }), IPA.network_validator({ - specials: ['any', 'none'], + specials: ['any', 'none', 'localhost', 'localnets'], allow_negation: true, allow_host_address: true })] @@ -181,11 +178,8 @@ IPA.dns.zone_entity = function(spec) { type: 'netaddr', name: 'idnsallowtransfer', validators: [ - IPA.unsupported_validator({ - unsupported: ['localhost', 'localnets'] - }), IPA.network_validator({ - specials: ['any', 'none'], + specials: ['any', 'none', 'localhost', 'localnets'], allow_negation: true, allow_host_address: true })] -- 1.7.11.4
_______________________________________________ Freeipa-devel mailing list Freeipa-devel@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-devel