https://bugs.openldap.org/show_bug.cgi?id=10405
Issue ID: 10405 Summary: freebsd package missing mdb module in openldap server 2.6.10 Product: OpenLDAP Version: 2.6.10 Hardware: All OS: FreeBSD Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: enda@cronnolly.com Target Milestone: ---
When installing openldap server on FreeBSD 14.3, the package:
openldap26-server-2.6.10 Open source LDAP server implementation
Has the following shared objects in the module folder:
ls /usr/local/libexec/openldap/back_*.so /usr/local/libexec/openldap/back_asyncmeta.so /usr/local/libexec/openldap/back_null.so /usr/local/libexec/openldap/back_dnssrv.so /usr/local/libexec/openldap/back_passwd.so /usr/local/libexec/openldap/back_ldap.so /usr/local/libexec/openldap/back_sock.so /usr/local/libexec/openldap/back_meta.so
slapd.conf references these modules:
# Load dynamic backend modules: modulepath /usr/local/libexec/openldap moduleload back_mdb # moduleload back_ldap
but back_mdb is missing from the installed modules.
There appears to be no other way to install this module through the package system and the only way to run openldap server 2.6.10 is to build it from ports instead of using the broken package.
https://bugs.openldap.org/show_bug.cgi?id=10405
--- Comment #1 from Enda Cronnolly enda@cronnolly.com --- Just as a comment, I ran all logical checks such as /usr/local/libexec/slapd -VVV to check uf the module was statically linked into slapd, and it doen't appear to be, I failed miserable to get slapd running.
I have built the package from ports and got it going without any issue, I suspect that it was intended to be compiled into the binary but hasn't been unless the module loading attempt in slapd.conf negates what is built in.
https://bugs.openldap.org/show_bug.cgi?id=10405
Enda Cronnolly enda@cronnolly.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Enda Cronnolly enda@cronnolly.com --- I tested again this morning, retracing my steps, and I got it to work flawlessly from the packages.
Problem was obviously between the keyboard and the chair or something quirky in the original environment.
I'm making this resolved. The mdb was linked into the slapd binary in the package and having the module line uncommented didn't impact the correct operation.
https://bugs.openldap.org/show_bug.cgi?id=10405
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |WONTFIX Status|RESOLVED |VERIFIED Keywords|needs_review |