sasl/gssapi tests are disabled due to missing build-deps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Fix Released
|
Undecided
|
Sergio Durigan Junior |
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),
- unixodbc-dev <!pkg.openldap.
+ unixodbc-dev <!pkg.openldap.
+ krb5-admin-server,
+ krb5-user,
+ krb5-kdc,
+ libsasl2-
+ sasl2-bin
Build-Conflicts: libbind-dev, bind-dev, autoconf2.13
Standards-Version: 4.6.0
Homepage: https:/
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...
supportedSASLMe
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.
Related branches
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 3504 lines (+3123/-3)7 files modifieddebian/apparmor-profile (+61/-0)
debian/changelog (+2970/-0)
debian/control (+4/-2)
debian/rules (+17/-1)
debian/slapd.README.Debian (+11/-0)
debian/slapd.py (+51/-0)
debian/slapd.ufw.profile (+9/-0)
- git-ubuntu bot: Approve
- Bryce Harrington (community): Approve
- Canonical Server Reporter: Pending requested
-
Diff: 3494 lines (+3098/-4)7 files modifieddebian/apparmor-profile (+61/-0)
debian/changelog (+2939/-0)
debian/control (+10/-3)
debian/rules (+17/-1)
debian/slapd.README.Debian (+11/-0)
debian/slapd.py (+51/-0)
debian/slapd.ufw.profile (+9/-0)
- git-ubuntu bot: Approve
- Andreas Hasenack: Approve
- Canonical Server packageset reviewers: Pending requested
- Canonical Server Reporter: Pending requested
-
Diff: 35 lines (+15/-1)2 files modifieddebian/changelog (+9/-0)
debian/control (+6/-1)
Changed in openldap (Ubuntu): | |
assignee: | nobody → Sergio Durigan Junior (sergiodj) |
status: | New → In Progress |
This bug was fixed in the package openldap - 2.5.12+ dfsg-2ubuntu2
--------------- dfsg-2ubuntu2) kinetic; urgency=medium
openldap (2.5.12+
* 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 address hidden>
-- Sergio Durigan Junior <email address hidden> Thu, 25 Aug 2022 16:20:08 -0400