Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#14598 - [openldap] enable slapd overlays (slapo)

Attached to Project: Arch Linux
Opened by Andrea Zucchelli (zukka) - Wednesday, 06 May 2009, 00:02 GMT
Last edited by Eric Belanger (Snowman) - Thursday, 21 July 2011, 19:27 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No


I'd like to have slapd overlays in openldap package they are very useful and add great features to slapd (password policy, replication, referential integrity etc.)
These are the configure switches to enable them as loadable modules "--enable-overlays=mod --enable-modules=yes"
(maybe the default modules path /usr/sbin/openldap should be changed...)

Additional info:
* package version(s)
This task depends upon

Closed by  Eric Belanger (Snowman)
Thursday, 21 July 2011, 19:27 GMT
Reason for closing:  Implemented
Additional comments about closing:  openldap 2.4.26-2
Comment by Allan McRae (Allan) - Wednesday, 16 September 2009, 06:52 GMT
Adding these flags adds a dependency on libtool and a whole heap of libtool files. Not sure how to proceed...
Comment by Allan McRae (Allan) - Saturday, 19 September 2009, 05:36 GMT
Decided not to implement with the libldap-2.4 rebuild. I'll leave this for the maintainer to decide.
Comment by Greg (dolby) - Thursday, 05 May 2011, 08:53 GMT
Wow assigned to dsa. This feature request is old! Any idea how other distributions handle this?
Comment by Andrea Scarpino (BaSh) - Thursday, 05 May 2011, 09:43 GMT
Fedora enabled this, but I've no idea. Neither I've objections.
Comment by Truong Xuan Tinh (tinhtruong) - Saturday, 14 May 2011, 16:14 GMT
I've recently set up my company server using ArchLinux, and I really need the overlay 'memberof'. Unfortunately ArchLinux does not ship OpenLdap with that :(.
Comment by Uwe L. Korn (xhochy) - Wednesday, 06 July 2011, 12:44 GMT
Is there any progress on this issuse?
Is depending on libtool for building such a big problem?
Most of our developers use Arch Linux but without module support, we still have run Debian VMs on Arch, as Debian has support enabled.
Comment by Andrea Scarpino (BaSh) - Wednesday, 06 July 2011, 12:47 GMT
Patches are welcome
Comment by Uwe L. Korn (xhochy) - Wednesday, 06 July 2011, 16:56 GMT
Tested even building in a clean chroot, the only thing to be added is the above two switches (as seen in the supplied patch). Now openldap is working quite good with module support.
Comment by Uwe L. Korn (xhochy) - Friday, 15 July 2011, 06:29 GMT
This PKGBUILD is another approach to build the overlays. As not every one wants the overlays, I made it a split package and changed some configure options, so that the decision of some features are not automatically chosen depending on the environment the package was compiled, instead they are always builtin (as modules).
   PKGBUILD (3.3 KiB)
Comment by Uwe L. Korn (xhochy) - Friday, 15 July 2011, 10:09 GMT
As building the SQL backend requires some additional dependecies, I disabled it (it has never been enabled before) as this new PKGBUILD should only add module support, not directly a lot of new depenedencies (Should be a separate task).
   PKGBUILD (3.3 KiB)