Hi Michael,

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
-------------

After ./configure I do:
----------
make depend
make
make install

cd /opt/openldap-current/contrib/slapd-modules/passwd/totp/
make
make install

cd /opt/openldap-current/contrib/slapd-modules/passwd/sha2
make
make install

cd /opt/openldap-current/contrib/slapd-modules/passwd/pbkdf2
make
make install
----------
All the steps are part of an Ansible role. After building OpenLDAP a
find /opt/openldap-current/ -name "*argon*" only lists:
-------------
openldap-current/share/man/man5/slappw-argon2.5
openldap-current/servers/slapd/pwmods/argon2.c
openldap-current/servers/slapd/pwmods/README.argon2
openldap-current/doc/man/man5/slappw-argon2.5.tmp
openldap-current/doc/man/man5/slappw-argon2.5
openldap-current/tests/scripts/test083-argon2
-------------

Because of your hint with the path slapd/pwmods I read "./configure
--help" I added "--enable-argon2". Now I find the missing files :-). Did
I miss anything else in my configure-line?

Thank's

Stefan



Am 07.06.21 um 11:29 schrieb Michael Ströder:
> On 6/7/21 10:23 AM, Stefan Kania wrote:
>> ARGON2 is not part of the actual version 2.5.5 I only find the sources
>> on git.openldap.org.
> 
> Not true.
> 
> It's in the main code now:
> 
> $ tar tzf openldap-2.5.5.tgz | grep argon
> openldap-2.5.5/tests/scripts/test083-argon2
> openldap-2.5.5/doc/man/man5/slappw-argon2.5
> openldap-2.5.5/servers/slapd/pwmods/argon2.c
> openldap-2.5.5/servers/slapd/pwmods/README.argon2
> 
> My openSUSE package:
> 
> $ rpm -ql openldap-ms | grep argon
> /opt/openldap-ms/lib64/openldap/argon2-2.5.so.0
> /opt/openldap-ms/lib64/openldap/argon2-2.5.so.0.1.0
> /opt/openldap-ms/lib64/openldap/argon2.la
> /opt/openldap-ms/lib64/openldap/argon2.so
> /opt/openldap-ms/share/man/man5/slappw-argon2.5
> 
> How do you build your packages?
> 
> Ciao, Michael.
> 

Reply via email to