Modify

Opened 8 years ago

Closed 5 years ago

Last modified 4 years ago

#6476 closed enhancement (no_response)

Configure openldap-server to build LDIF backend instead of bdb

Reported by: W. Michael Petullo <mike@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: openldap-server Cc:

Description

OpenLDAP's slapd has an LDIF backend that is more suitable for OpenWRT installations. This patch removes the dependency on db47. The result is a slight sacrifice in performance (negligible in small installations) in return for a significant reduction in memory and disk space use. Most importantly, the lack of a Berkeley DB journal file minimizes the writes required to a system's flash disk (Where a BDB journal file may be continuously written to outside of an administrator's control, the LDIF backend only causes a write when the database changes due to a ldapadd, etc).

Attachments (2)

openldap-no-bdb.patch (623 bytes) - added by W. Michael Petullo <mike@…> 8 years ago.
openldap-no-bdb.2.patch (911 bytes) - added by W. Michael Petullo <mike@…> 8 years ago.
Replaces previous patch, enable null backend or configure script will balk

Download all attachments as: .zip

Change History (7)

Changed 8 years ago by W. Michael Petullo <mike@…>

Changed 8 years ago by W. Michael Petullo <mike@…>

Replaces previous patch, enable null backend or configure script will balk

comment:1 Changed 8 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Committed in r19122 - thanks!

comment:2 Changed 6 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

This basically broke synchronization AND it removed the recommended backend database. Sorry I cannot attach links because then this Trac thinks it is spam. But I wrote in the forum about it, see post id. 152293

comment:3 Changed 5 years ago by florian

Can you describe exactly what is wrong with the patches merged?

comment:4 Changed 5 years ago by nbd

  • Resolution set to no_response
  • Status changed from reopened to closed

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.