--On Thursday, April 13, 2023 2:05 PM -0400 Braiam braiamp@gmail.com wrote:
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]:
Incorrect, as he clearly showed, the version information has been stripped from the SLAPD binary, which is what he provided the information from. Here's an example of a NON STRIPPED SLAPD:
./lib/slapd -VVV @(#) $OpenLDAP: slapd 2.6.4 (Feb 8 2023 17:18:31) $ openldap
Here's what he posted:
@(#) $OpenLDAP: slapd (Ubuntu) (May 12 2022 13:11:05) $ Debian OpenLDAP Maintainers pkg-openldap-devel@lists.alioth.debian.org
Note that the version is in fact stripped like I stated.
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].
It's clearly 2.5.13 from what you posted ...
"ldapmodify 2.5.13+dfsg-5"
--Quanah