Diff

plugins/mod_saslauth.lua @ 799:b7ea802f3527

Adding inital support for ANONYMOUS mechanism in SASL.
author Tobias Markmann <tm@ayena.de>
date Sat, 14 Feb 2009 18:57:50 +0100
parent 760:90ce865eebd8
child 887:eef21d7bbe04
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua	Fri Feb 13 16:43:44 2009 +0000
+++ b/plugins/mod_saslauth.lua	Sat Feb 14 18:57:50 2009 +0100
@@ -106,6 +106,7 @@
 				-- TODO: Provide PLAIN only if TLS is active, this is a SHOULD from the introduction of RFC 4616. This behavior could be overridden via configuration but will issuing a warning or so.
 					features:tag("mechanism"):text("PLAIN"):up();
 					features:tag("mechanism"):text("DIGEST-MD5"):up();
+					features:tag("mechanism"):text("ANONYMOUS"):up();
 				features:up();
 			else
 				features:tag("bind", bind_attr):tag("required"):up():up();