[Bug 227344] [NEW] bind-dlz und ldap api

Daniel Paufler d.paufler at ergomedia.de
Tue May 6 15:26:17 BST 2008


Public bug reported:

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
+++ 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;


-----------------------------


My System:
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 8.04
Release:        8.04
Codename:       hardy

bind9:
  Installed: 1:9.4.2-10
  Candidate: 1:9.4.2-10
  Version table:
     1:9.4.2-10 0
        500 http://de.archive.ubuntu.com hardy/main Packages
 *** 1:9.4.2-10 0
        100 /var/lib/dpkg/status

slapd:
  Installed: 2.4.7-6ubuntu3
  Candidate: 2.4.7-6ubuntu3
  Version table:
 *** 2.4.7-6ubuntu3 0
        500 http://de.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

libldap-2.4-2:
  Installed: 2.4.7-6ubuntu3
  Candidate: 2.4.7-6ubuntu3
  Version table:
 *** 2.4.7-6ubuntu3 0
        500 http://de.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

** Affects: bind9 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
bind-dlz und ldap api
https://bugs.launchpad.net/bugs/227344
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bind9 in ubuntu.



More information about the Ubuntu-server-bugs mailing list