--- a/plugins/mod_auth_anonymous.lua Mon Dec 27 19:43:57 2010 +0500 +++ b/plugins/mod_auth_anonymous.lua Mon Dec 27 19:57:04 2010 +0500 @@ -36,7 +36,7 @@ function provider.get_sasl_handler() local realm = module:get_option("sasl_realm") or module.host; local anonymous_authentication_profile = { - anonymous = function(username, realm) + anonymous = function(sasl, username, realm) return true; -- for normal usage you should always return true here end };