FS#8311 - Openldap unusable with bdb backend

Attached to Project: Arch Linux
Opened by Michael Gwin (oksijun) - Monday, 15 October 2007, 11:55 GMT
Last edited by Tobias Powalowski (tpowa) - Thursday, 18 October 2007, 08:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture i686
Severity Critical
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Openldap needs to be rebuilt against the latest db package:

[558][root@krom:openldap-data]# slapadd -b "c=fr" -l /root/ldap.ldif
bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.6.19: (August 10, 2007), got Berkeley DB 4.6.21: (September 27, 2007)
backend_init: initialized for type "bdb"
slapadd: slap_init failed!

Additional info:
* package version(s)

openldap 2.3.38-2
db 4.6.21-1

* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Thursday, 18 October 2007, 08:53 GMT
Reason for closing:  Fixed
Comment by arvind (senorsnor) - Monday, 15 October 2007, 15:58 GMT
Get the same error message starting the slapd daemon:

[root@kitten openldap]# /usr/sbin/slapd -f /etc/openldap/slapd.conf -d 255
@(#) $OpenLDAP: slapd 2.3.38 (Sep 29 2007 14:38:33) $
tobias@T-POWA-LX:/home/tobias/Install/Arch/arch-cvs/extra/daemons/openldap/src/openldap-2.3.38/servers/slapd
daemon_init: <null>
daemon_init: listen on ldap:///
daemon_init: 1 listeners to open...
ldap_url_parse_ext(ldap:///)
daemon: IPv6 socket() failed errno=97 (Address family not supported by protocol)
daemon: listener initialized ldap:///
daemon_init: 2 listeners opened
slapd init: initiated server.
slap_sasl_init: initialized!
bdb_back_initialize: initialize BDB backend
bdb_back_initialize: BDB library version mismatch: expected Berkeley DB 4.6.19: (August 10, 2007), got Berkeley DB 4.6.21: (September 27, 2007)
backend_init: initialized for type "bdb"
slapd destroy: freeing system resources.
slapd stopped.
connections_destroy: nothing to destroy.

openldap 2.3.38-2, db 4.6.21-1
Comment by Konstantin Sharlaimov (jshadow) - Tuesday, 16 October 2007, 06:35 GMT
I can confirm the bug. Had to revert to db-4.5 to get my server running again

openldap 2.3.38-2, db 4.6.21-1
Comment by Tobias Powalowski (tpowa) - Thursday, 18 October 2007, 07:27 GMT
i have rebuilt the openldap against new db with versioned depend,
andy mentioned that fedora still uses db4.1 on openldap, jan any suggestions on this?

Loading...