Pavel Moravec created QPID-5864:
-----------------------------------

             Summary: [Python client] Provide better error description when 
SASL required but no credentials provided
                 Key: QPID-5864
                 URL: https://issues.apache.org/jira/browse/QPID-5864
             Project: Qpid
          Issue Type: Improvement
          Components: Python Client
    Affects Versions: 0.28
            Reporter: Pavel Moravec
            Assignee: Pavel Moravec
            Priority: Trivial
             Fix For: Future


When qpidd is started with auth=yes and ANONYMOUS mechanism disabled, an 
attempt to connect to it without credentials provides confusing error:

$ qpid-stat -q
Failed: AuthenticationFailure - Error in sasl_client_start (-4) SASL(-4): no 
mechanism available: No worthy mechs found
$

While e.g. PLAIN mechanism *is* available.

The error should be rather "Anonymous connections disabled, missing 
credentials" or so.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to