Re: bind9-9.4.2 + DLZ + slapd 2.4.7

Daniel Paufler <[email protected]>
Newsgroups gmane.network.dns.bind9.dlz
Organization ergomedia GmbH
Message-ID <[email protected]>
Hello Jan-Piet

Many thanks for pointing to the right lines of code. I submitted a
bugreport for ubuntu at
https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/227344 to include
the patch.

Regards

Daniel

Jan-Piet Mens wrote:
> On Mon May 05 2008 at 16:03:12 CEST, Daniel Paufler wrote:
> 
>> Where do i find the "$" patch?
> 
> Attached. (I discuss this in the upcoming book.)
> 
>         -JP
> 
> 
> ------------------------------------------------------------------------
> 
> --- bind-9.4.2/contrib/dlz/drivers/sdlz_helper.c.orig
> +++ bind-9.4.2/contrib/dlz/drivers/sdlz_helper.c
> @@ -166,12 +166,12 @@
>  		ISC_LIST_APPEND(*tql, tseg, link);
>  
>  		/*
> -		 * split string at the first "%". set query segment to
> +		 * split string at the first "$". set query segment to
>  		 * left portion
>  		 */
>  		tseg->sql = isc_mem_strdup(mctx,
>  					   isc_string_separate(&right_str,
> -							       "%"));
> +							       "$"));
>  		if (tseg->sql == NULL) {
>  			/* no memory, clean everything up. */
>  			result = ISC_R_NOMEMORY;


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.