This bug was fixed in the package openldap - 2.5.12+dfsg-2ubuntu2
---------------
openldap (2.5.12+dfsg-2ubuntu2) kinetic; urgency=medium
* Enable SASL/GSSAPI tests. (LP: #1976508)
- d/control: Update B-D to include required dependencies needed to run
SASL/GSSAPI tests during build time, and mark them "!nocheck".
Thanks: Andreas Hasenack <[email protected]>
-- Sergio Durigan Junior <[email protected]> Thu, 25 Aug
2022 16:20:08 -0400
** Changed in: openldap (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/1976508
Title:
sasl/gssapi tests are disabled due to missing build-deps
Status in openldap package in Ubuntu:
Fix Released
Bug description:
Openldap has an extensive test suite that is run during build. The
sasl/gssapi tests are being skipped because of missing build
dependencies:
>>>>> Starting test077-sasl-gssapi for mdb...
running defines.sh
Starting KDC for SASL/GSSAPI tests...
Trying Heimdal KDC...
Trying MIT KDC...
No KDC available, skipping GSSAPI tests
>>>>> test077-sasl-gssapi completed OK for mdb after 0 seconds.
With this diff, the test was finally run:
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,12 @@ Build-Depends: debhelper-compat (= 12),
perl:any,
pkg-config (>= 0.29),
po-debconf,
- unixodbc-dev <!pkg.openldap.noslapd>
+ unixodbc-dev <!pkg.openldap.noslapd>,
+ krb5-admin-server,
+ krb5-user,
+ krb5-kdc,
+ libsasl2-modules-gssapi-mit,
+ sasl2-bin
Build-Conflicts: libbind-dev, bind-dev, autoconf2.13
Standards-Version: 4.6.0
Homepage: https://www.openldap.org/
Result:
>>>>> Starting test077-sasl-gssapi for mdb...
running defines.sh
Starting KDC for SASL/GSSAPI tests...
Trying Heimdal KDC...
Trying MIT KDC...
Configuring slapd...
Starting ldap:/// slapd on TCP/IP port 9011 and ldaps:/// slapd on 9012...
Using ldapsearch to check that slapd is running...
supportedSASLMechanisms: GSSAPI
Using ldapwhoami with SASL/GSSAPI: success
Validating mapped SASL/GSSAPI ID: success
Using ldapwhoami with SASL/GSSAPI with start-tls: success
Using ldapwhoami with SASL/GSSAPI with ldaps: success
SASL has no channel-binding support in GSSAPI, test skipped
>>>>> Test succeeded
>>>>> test077-sasl-gssapi completed OK for mdb after 2 seconds.
About the missing channel binding support, I filed bug #1976507
against cyrus-sasl2.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/1976508/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp