On Thu, Apr 13, 2023 at 12:19 PM Quanah Gibson-Mount quanah@fast-mail.org wrote:
This is an annoying bit about the Debian/Ubuntu builds as they strip that information out of the binary.
I was curious about that, and Debian doesn't strip that information[1]:
ldapadd -V ldapadd: @(#) $OpenLDAP: ldapmodify 2.5.13+dfsg-5 (Feb 8 2023 01:56:12) $ Debian OpenLDAP Maintainers pkg-openldap-devel@lists.alioth.debian.org (LDAP library: OpenLDAP 20513)
I don't have an Ubuntu box at hand but their devel branch has the same patch[2] applied.
If I trust that the datetime on the version string is the build date time, and since they use reproducible builds, I would guess that the base version is 2.5.6, from this changelog [3].