I was running bind 9.4.1-P1-3 with DLZ and openldap 2.3.35-1 with ubuntu
7.10 (gutsy)
Now i updated to bind 9.4.2 and openldap 2.4.7. My previous config
stopped working with "lookup query must specify a search base" error.
It seems, that it caused by the ldap API change regarding "%" sign.
I emailed with the bind-dlz guys. They changed their configuration to not use "%" but "$". I applied the patch, dpkg-build the package again and it is working. Can you please put the patch to your binary package and give out e new version for hardy.
/*
- * 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;
-----------------------------
My System:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04
Release: 8.04
Codename: hardy
Binary package hint: bind9
I was running bind 9.4.1-P1-3 with DLZ and openldap 2.3.35-1 with ubuntu
7.10 (gutsy)
Now i updated to bind 9.4.2 and openldap 2.4.7. My previous config
stopped working with "lookup query must specify a search base" error.
It seems, that it caused by the ldap API change regarding "%" sign.
I emailed with the bind-dlz guys. They changed their configuration to not use "%" but "$". I applied the patch, dpkg-build the package again and it is working. Can you please put the patch to your binary package and give out e new version for hardy.
------- ------- ------- ------- ------- -------
--- bind-9. 4.2/contrib/ dlz/drivers/ sdlz_helper. c.orig 4.2/contrib/ dlz/drivers/ sdlz_helper. c LIST_APPEND( *tql, tseg, link);
+++ bind-9.
@@ -166,12 +166,12 @@
ISC_
/* strdup( mctx,
isc_string_ separate( &right_ str,
- * split string at the first "%". set query segment to
+ * split string at the first "$". set query segment to
* left portion
*/
tseg->sql = isc_mem_
- "%"));
+ "$"));
if (tseg->sql == NULL) {
/* no memory, clean everything up. */
result = ISC_R_NOMEMORY;
------- ------- ------- ------- -
My System:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 8.04
Release: 8.04
Codename: hardy
bind9: de.archive. ubuntu. com hardy/main Packages dpkg/status
Installed: 1:9.4.2-10
Candidate: 1:9.4.2-10
Version table:
1:9.4.2-10 0
500 http://
*** 1:9.4.2-10 0
100 /var/lib/
slapd: de.archive. ubuntu. com hardy/main Packages dpkg/status
Installed: 2.4.7-6ubuntu3
Candidate: 2.4.7-6ubuntu3
Version table:
*** 2.4.7-6ubuntu3 0
500 http://
100 /var/lib/
libldap-2.4-2: de.archive. ubuntu. com hardy/main Packages dpkg/status
Installed: 2.4.7-6ubuntu3
Candidate: 2.4.7-6ubuntu3
Version table:
*** 2.4.7-6ubuntu3 0
500 http://
100 /var/lib/