INN commit: trunk/nnrpd (commands.c)

INN Commit rra at isc.org
Wed Nov 4 22:00:38 UTC 2009


    Date: Wednesday, November 4, 2009 @ 14:00:37
  Author: iulius
Revision: 8705

When INN is compiled without SASL support, AUTHINFO SASL
is an unkwnown AUTHINFO command.  It should return 501
(syntax error) instead of 503 (not mentioned in RFC for
that case).

Modified:
  trunk/nnrpd/commands.c

------------+
 commands.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: commands.c
===================================================================
--- commands.c	2009-11-03 18:51:44 UTC (rev 8704)
+++ commands.c	2009-11-04 22:00:37 UTC (rev 8705)
@@ -293,7 +293,7 @@
         /* Arguments are checked by SASLauth(). */
 	SASLauth(ac, av);
 #else
-        Reply("%d SASL authentication unsupported\r\n", NNTP_ERR_UNAVAILABLE);
+        Reply("%d SASL authentication unsupported\r\n", NNTP_ERR_SYNTAX);
         return;
 #endif /* HAVE_SASL */
     } else {




More information about the inn-committers mailing list