Bug 16075 - bind9 sdb-ldap und OpenLDAP 2.4
bind9 sdb-ldap und OpenLDAP 2.4
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: DNS
UCS 2.3
Other Linux
: P5 normal (vote)
: UCS 2.3
Assigned To: Stefan Gohmann
Daniel Hofmann
:
: 16042 (view as bug list)
Depends on: 16042
Blocks: 14412
  Show dependency treegraph
 
Reported: 2009-10-22 22:33 CEST by Stefan Gohmann
Modified: 2009-12-21 08:47 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2009-10-22 22:33:03 CEST
+++ This bug was initially created as a clone of Bug #16042 +++


Die LDAP-Bindings für bind9 sollten an den aktuelle OpenLDAP Version abgepasst werden:

ldapdb.c: In function âldapdb_getconnâ:
ldapdb.c:138: warning: implicit declaration of function âldap_unbindâ
ldapdb.c: In function âldapdb_bindâ:
ldapdb.c:222: warning: implicit declaration of function âldap_simple_bind_sâ
ldapdb.c: In function âldapdb_searchâ:
ldapdb.c:268: warning: implicit declaration of function âldap_searchâ
ldapdb.c:304: warning: implicit declaration of function âldap_get_valuesâ
ldapdb.c:304: warning: assignment makes pointer from integer without a cast
ldapdb.c:309: warning: assignment makes pointer from integer without a cast
ldapdb.c:312: warning: implicit declaration of function âldap_value_freeâ
ldapdb.c:330: warning: assignment makes pointer from integer without a cast


Siehe auch:
http://lists.freebsd.org/pipermail/freebsd-stable/2008-March/040976.html
http://www.openldap.org/lists/openldap-technical/200712/msg00008.html
Comment 1 Stefan Gohmann univentionstaff 2009-10-23 08:33:27 CEST
*** Bug 16042 has been marked as a duplicate of this bug. ***
Comment 2 Stefan Gohmann univentionstaff 2009-10-23 14:34:21 CEST
Patch erstellt und an die Mailingliste geschickt.

Tests laufen.
Comment 3 Stefan Gohmann univentionstaff 2009-10-23 19:33:41 CEST
(In reply to comment #2)
> Patch erstellt und an die Mailingliste geschickt.

https://postlister.uninett.no/sympa/arc/dns-ldap/2009-10/msg00002.html

> Tests laufen.

Einfache Tests waren erfolgreich.
Comment 4 Daniel Hofmann univentionstaff 2009-10-27 17:28:26 CET
Hatte die segfaults auch zwischenzeitlich, sind auf meinen aktuelleren 64-bit-VMs aber nicht mehr aufgetreten und ich konnte sie auch nicht provozieren.

Einen Rechner anlegen und auflösen hat auch funktioniert:

master2364unmaintained:/etc/bind # host gert
gert.univention.test has address 10.200.4.88
master2364unmaintained:/etc/bind # host bla
bla.univention.test is an alias for gert.univention.test.
gert.univention.test has address 10.200.4.88
Comment 5 Stefan Gohmann univentionstaff 2009-12-21 08:47:42 CET
UCS 2.3 wurde veröffentlicht. Sollte der hier beschriebene Bug mit einer neueren Version von UCS erneut auftreten, so sollte der Bug dupliziert werden: "Clone This Bug".