Hello, Explicitly return SERVFAIL if PTR synchronization is misconfigured.
SERVFAIL will be returned if PTR synchronization is enabled in forward zone but reverse zone has dynamic updates disabled. -- Petr Spacek
From fe5f710b212b2cbe144f8132de5df3672ad479a5 Mon Sep 17 00:00:00 2001 From: Petr Spacek <[email protected]> Date: Tue, 16 Apr 2013 11:00:04 +0200 Subject: [PATCH] Explicitly return SERVFAIL if PTR synchronization is misconfigured. SERVFAIL will be returned if PTR synchronization is enabled in forward zone but reverse zone has dynamic updates disabled. Signed-off-by: Petr Spacek <[email protected]> --- src/ldap_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ldap_helper.c b/src/ldap_helper.c index d6061f247db625326ce09e75b1c7ca5c1f259ba5..21dbed1b81af74cd3c8f28e3a78db7a878cfdeb4 100644 --- a/src/ldap_helper.c +++ b/src/ldap_helper.c @@ -2990,7 +2990,7 @@ modify_ldap_common(dns_name_t *owner, ldap_instance_t *ldap_inst, if (result != ISC_R_SUCCESS) { if (result == ISC_R_NOTFOUND) log_debug(3, "active zone '%s' not found", zone_dn); - goto cleanup; + CLEANUP_WITH(DNS_R_SERVFAIL); } CHECK(setting_get_bool("dyn_update", zone_settings, &zone_dyn_update)); -- 1.7.11.7
_______________________________________________ Freeipa-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/freeipa-devel
