https://bugs.openldap.org/show_bug.cgi?id=10009
Issue ID: 10009 Summary: test076 execution failed Product: OpenLDAP Version: 2.6.3 Hardware: All OS: All Status: UNCONFIRMED Keywords: needs_review Severity: normal Priority: --- Component: test suite Assignee: bugs@openldap.org Reporter: 1010881517@qq.com Target Milestone: ---
openldap-2.6.3test case test076-authid-rewrite failed when I upgrade openssl to openssl3.0
Does anyone have a similar problem?
00:27:30 Starting test076-authid-rewrite for mdb...
running defines.sh Starting slapd on TCP/IP port 9011... /home/abuild/rpmbuild/BUILD/openldap-2.6.3/openldap-2.6.3/tests Using ldapsearch to check that slapd is running... Checking whether DIGEST-MD5 is supported... Adding schema and database... Using ldapadd to populate the database...
Adding olcAuthzRegexp rule for static mapping... Testing ldapwhoami as Manager... ./scripts/test076-authid-rewrite: line 177: 219330 Segmentation fault (core dumped) $LDAPSASLWHOAMI -H $URI1 -Y $MECH -U $ID -w $PASSWD ldapwhoami failed (139)!
00:27:33 Failed test076-authid-rewrite for mdb after 3 seconds
(exit 139)
https://bugs.openldap.org/show_bug.cgi?id=10009
--- Comment #1 from 1010881517@qq.com --- After add some cyrus-sasl patch , now error info is :
00:18:02 Starting test076-authid-rewrite for mdb...
running defines.sh Starting slapd on TCP/IP port 9011... /home/abuild/rpmbuild/BUILD/openldap-2.6.3/openldap-2.6.3/tests Using ldapsearch to check that slapd is running... Checking whether DIGEST-MD5 is supported... Adding schema and database... Using ldapadd to populate the database...
Adding olcAuthzRegexp rule for static mapping... Testing ldapwhoami as Manager... ldap_sasl_interactive_bind: Local error (-2) additional info: SASL(-1): generic failure: internal error: failed to init cipher 'rc4' ldapwhoami failed (254)!
00:18:05 Failed test076-authid-rewrite for mdb after 3 seconds
(exit 254)
https://bugs.openldap.org/show_bug.cgi?id=10009
--- Comment #2 from Howard Chu hyc@openldap.org --- rc4 has been deprecated for a long time. Apparently it's not in your OpenSSL or SASL build. Not really an OpenLDAP issue. Feel free to supply patches to the test script to avoid using deprecated mechanisms.
https://bugs.openldap.org/show_bug.cgi?id=10009
--- Comment #3 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to Howard Chu from comment #2)
rc4 has been deprecated for a long time. Apparently it's not in your OpenSSL or SASL build. Not really an OpenLDAP issue. Feel free to supply patches to the test script to avoid using deprecated mechanisms.
Regardless, we shouldn't core dump?
On Thu, Feb 09, 2023 at 06:54:05PM +0000, openldap-its@openldap.org wrote:
Regardless, we shouldn't core dump?
I would think that by saying that it changed to a regular error after "something" was patched in cyrus-sasl means they think the SEGV was due to cyrus-sasl so nothing we could have done about it anyway?
https://bugs.openldap.org/show_bug.cgi?id=10009
--- Comment #4 from Ondřej Kuzník ondra@mistotebe.net --- On Thu, Feb 09, 2023 at 06:54:05PM +0000, openldap-its@openldap.org wrote:
Regardless, we shouldn't core dump?
I would think that by saying that it changed to a regular error after "something" was patched in cyrus-sasl means they think the SEGV was due to cyrus-sasl so nothing we could have done about it anyway?
https://bugs.openldap.org/show_bug.cgi?id=10009
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.7.0 Keywords|needs_review |
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- Change test not to rely on RC4.
https://bugs.openldap.org/show_bug.cgi?id=10009
--- Comment #6 from Quanah Gibson-Mount quanah@openldap.org --- May actually be a bug with cyrus-sasl when RC4 is not available, as OpenLDAP is specifically using DIGEST-MD5 in the test.
https://bugs.openldap.org/show_bug.cgi?id=10009
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID
--- Comment #7 from Quanah Gibson-Mount quanah@openldap.org --- Bug with cyrus-sasl, please open an issue there.
https://bugs.openldap.org/show_bug.cgi?id=10009
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED Target Milestone|2.7.0 |---