Bug 617267 - occasional unexplained authentication failure using cyrus-sasl and GSSAPI
Summary: occasional unexplained authentication failure using cyrus-sasl and GSSAPI
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cyrus-sasl   
(Show other bugs)
Version: 5.4
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: BaseOS QE Security Team
: 598948 (view as bug list)
Depends On:
Blocks: 613011
TreeView+ depends on / blocked
Reported: 2010-07-22 15:59 UTC by Gordon Sim
Modified: 2013-03-13 15:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-03-13 15:00:53 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Gordon Sim 2010-07-22 15:59:26 UTC
Description of problem:

Using the sasl2-sample-client and sasl2-sample-server with GSSAPI results in very occasional authentication failures for no apparent reason. Running the client in a loop will fail after some time, but after failure an immediate retry succeeds (and so the ticket is clearly still valid).

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. start sasl2-sample-server with GSSAPI
2. run sasl2-sampl-client with GSSAPI in a loop (pipe in appropriate auth id)
Actual results:

Get occasional unexplained authentication failures (after which successful authentication is immediately observed without any further kinit).

Expected results:

Should not fail authentication unless ticket expires.

Additional info:

The issue was originally noticed with qpid (M component of MRG), where occasionally GSSAPI authentication failed without any reason (it passed successfully immediately before and after the failure case, so ticket was valid) - see bug 598948. This was worked around by not explicitly supplying the authorisation id and allowing that to be inferred.

Comment 1 Gordon Sim 2010-08-02 12:04:11 UTC
Any thoughts or progress on this yet?

Comment 2 Petr Lautrbach 2012-03-08 10:16:39 UTC
I'm not able to reproduce this issue. My script's running almost 12 hour in loop without any failure. Are you able to reproduce it? Can you provide sasl2-sample-server and klist output when authentication failures? Is it possible that something refreshes ticket after fail?

Comment 3 Gordon Sim 2012-03-13 10:21:54 UTC
I certainly was able to reproduce it quite easily (though it could take some time for the error to appear). At present I don't have an equivalent test environment set up so it will take some time to have another try. I don't believe anything could have refreshed the ticket (I did look at klist output at the time and saw nothing unexpected there).

Comment 4 Justin Ross 2012-12-11 20:41:18 UTC
*** Bug 598948 has been marked as a duplicate of this bug. ***

Comment 5 Petr Lautrbach 2013-03-13 15:00:53 UTC
I am sorry, but it is now too late in the RHEL-5 release cycle.
RHEL-5.10 (the next RHEL-5 minor release) is going to be the first
production phase 2 [1] release of RHEL-5. Since phase 2 we'll be
addressing only security and critical issues.

[1] https://access.redhat.com/support/policy/updates/errata/

Note You need to log in before you can comment on or make changes to this bug.