Public bug reported:

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.

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

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

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     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to