[Freeipa-devel] [PATCH 0045] Fix zone transfers with non-FQDNs

Adam Tkac atkac at redhat.com
Mon Aug 13 11:01:57 UTC 2012


On Mon, Jul 30, 2012 at 07:47:05PM +0200, Petr Spacek wrote:
> Hello,
> 
> this patch enables (finally!) full-fledged AXFR zone-transfers.
> 
> One-liner was enough, after two days of debugging ... :-)
> 
> I tried to find all consequences for this change, but please test it thoroughly.

Ack.

> From c73219008ddd8e68ab6bfa7485efc25effc04d1b Mon Sep 17 00:00:00 2001
> From: Petr Spacek <pspacek at redhat.com>
> Date: Mon, 30 Jul 2012 19:39:14 +0200
> Subject: [PATCH] Fix zone transfers with non-FQDNs.
> 
> https://fedorahosted.org/bind-dyndb-ldap/ticket/47
> 
> Signed-off-by: Petr Spacek <pspacek at redhat.com>
> ---
>  src/ldap_driver.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/ldap_driver.c b/src/ldap_driver.c
> index cae45d4f6cc1f201c40ca3413d1f626e03a0318e..d958d15bdebe5e89dc4948655ffba655073d53e0 100644
> --- a/src/ldap_driver.c
> +++ b/src/ldap_driver.c
> @@ -689,7 +689,7 @@ createiterator(dns_db_t *db,
>  
>  	ldapdb_t *ldapdb = (ldapdb_t *) db;
>  	result = ldapdb_nodelist_get(ldapdb->common.mctx, ldapdb->ldap_inst,
> -	                             &ldapdb->common.origin, NULL,
> +	                             &ldapdb->common.origin, &ldapdb->common.origin,
>  	                             &ldapiter->nodelist);
>  
>  	*iteratorp = (dns_dbiterator_t *) ldapiter;
> -- 
> 1.7.11.2
> 


-- 
Adam Tkac, Red Hat, Inc.




More information about the Freeipa-devel mailing list