SHA256
1
0
forked from pool/bind
bind/dlz-dollarvar.patch
Uwe Gansert cb8f633ea0 Accepting request 33443 from home:jengelh:dns
Copy from home:jengelh:dns/bind via accept of submit request 33443 revision 2.
Request was accepted with message:
Reviewed ok

OBS-URL: https://build.opensuse.org/request/show/33443
OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=25
2010-04-01 10:17:51 +00:00

22 lines
666 B
Diff

https://bugs.launchpad.net/ubuntu/+source/bind9/+bug/227344
LDAP API does not like %.
--- bind-9.6.1P1/contrib/dlz/drivers/sdlz_helper.c.orig
+++ bind-9.6.1P1/contrib/dlz/drivers/sdlz_helper.c
@@ -166,12 +166,12 @@ build_querylist(isc_mem_t *mctx, const c
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;