Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 621670 - net-nds/openldap-2.4.44: add additional overlay modules, especially slapo-pw-sha2
Summary: net-nds/openldap-2.4.44: add additional overlay modules, especially slapo-pw-...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
: 569766 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-06-13 14:16 UTC by Uwe Sauter
Modified: 2019-11-10 15:56 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Sauter 2017-06-13 14:16:47 UTC
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.
Comment 1 Cameron C 2017-06-23 02:20:10 UTC
I've proposed a ebuild patch for 2.4.45 here: https://github.com/gentoo/gentoo/pull/4973
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2017-06-23 16:34:25 UTC
merged, thanks
Comment 3 Chris Paras 2018-07-26 02:11:24 UTC
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.
Comment 4 Pacho Ramos gentoo-dev 2019-11-10 15:56:43 UTC
*** Bug 569766 has been marked as a duplicate of this bug. ***