INN commit: branches/2.5/nnrpd (commands.c)

INN Commit rra at isc.org
Sun Nov 15 09:24:16 UTC 2009


    Date: Sunday, November 15, 2009 @ 01:24:16
  Author: iulius
Revision: 8777

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:
  branches/2.5/nnrpd/commands.c

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

Modified: commands.c
===================================================================
--- commands.c	2009-11-15 09:24:06 UTC (rev 8776)
+++ commands.c	2009-11-15 09:24:16 UTC (rev 8777)
@@ -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