From 4bf01bb76ba75e2a3e6957bddcca8ed3dbbd0d79 Mon Sep 17 00:00:00 2001 From: Waqas Hussain Date: Wed, 10 Feb 2010 01:53:38 +0500 Subject: util.sasl_cyrus: Add text message from cyrussasl to errors. --- util/sasl_cyrus.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua index b42bee07..57c6ba3c 100644 --- a/util/sasl_cyrus.lua +++ b/util/sasl_cyrus.lua @@ -113,7 +113,7 @@ function method:process(message) "undefined-condition", "SASL mechanism not available" elseif (err == -13) then -- SASL_BADAUTH - return "failure", "not-authorized" + return "failure", "not-authorized", cyrussasl.get_message( self.cyrus ) else log("debug", "Got SASL error condition %d", err) return "failure", -- cgit v1.2.3