INN commit: trunk/doc/pod (hook-perl.pod)
INN Commit
Russ_Allbery at isc.org
Fri Dec 26 04:18:57 UTC 2008
Date: Thursday, December 25, 2008 @ 20:18:56
Author: eagle
Revision: 8258
Correct the suggested response codes for Perl authentication hooks to
match RFC 4643.
Modified:
trunk/doc/pod/hook-perl.pod
---------------+
hook-perl.pod | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
Modified: hook-perl.pod
===================================================================
--- hook-perl.pod 2008-12-25 08:56:21 UTC (rev 8257)
+++ hook-perl.pod 2008-12-26 04:18:56 UTC (rev 8258)
@@ -450,10 +450,11 @@
by the client during authentication will be used for matching and
logging.
-The NNTP response code should probably be either 281 (authentication
-successful) or 502 (authentication unsuccessful). If the code
-returned is anything other than 281, nnrpd will print an
-authentication error message and drop the connection and exit.
+The NNTP response code should probably be 281 (authentication
+successful), 481 (authentication unsuccessful), or 400 (server
+failure). If the code returned is anything other than 281, nnrpd will
+print an authentication error message and drop the connection and
+exit.
If authenticate() dies (either due to a Perl error or due to calling die),
or if it returns anything other than the two or three element array
More information about the inn-committers
mailing list