On 6/7/21 2:31 PM, Stefan Kania wrote:
ok, I found the source files in server/slapd/pwmods. I was always searching in contrib/slapd-modules/passwd. I normally only user the debian-packages, but I want to start with 2.5 as early as possible so I started to build 2.5 from source. Here is my ./configure-line:
./configure --with-cyrus-sasl --with-tls=openssl --enable-overlays=mod --enable-backends=mod --disable-perl --disable-ndb --enable-crypt --enable-modules --enable-dynamic --enable-syslog --enable-debug --enable-local --enable-spasswd --disable-sql --prefix=/opt/openldap-current
To build with libargon2 (which supports all ARGON2 arguments):
--enable-argon2 --with-argon2=libargon2
Of course this requires build files of libargon2 to be installed.
Alternatively you could use libsodium which does not support ARGON2 parameter p>1 though.
See also the .spec file for my openSUSE/SLE packages:
https://build.opensuse.org/package/view_file/home:stroeder:openldap25/openld...
Ciao, Michael.