Current net-nds/openldap doesn't build additional overlay modules that are available in a subfolder. The one I looked at is "slapo-pw-sha2" which can be found in "${S}/contrib/slapd-modules/passwd/sha2/". My ebuild knowledge is very limited but as far as I can tell, the provided function "build_contrib_module" can only build modules that reside directly in "${S}/contrib/slapd-modules/" but not in subfolders. The following modules are placed in subfolders: nssov/nss-pam-ldapd passwd/pbkdf2 passwd/sha2 Especially "passwd/sha2" is interesting as it provides implementations for SHA256/SHA512 based passwords in LDAP. Please add functionality to build those additional modules.
I've proposed a ebuild patch for 2.4.45 here: https://github.com/gentoo/gentoo/pull/4973
merged, thanks
Could you also enable the deref overlay (--enable-deref) ? Being able to include the slapo-deref overlay would make those "slap_global_control: unrecognized control: 1.3.6.1.4.1.4203.666.5.16" messages go away.
*** Bug 569766 has been marked as a duplicate of this bug. ***