INN commit: branches/2.4/doc/pod (hook-perl.pod)

INN Commit Russ_Allbery at isc.org
Sat Dec 27 01:20:59 UTC 2008


    Date: Friday, December 26, 2008 @ 17:20:59
  Author: eagle
Revision: 8263

A more accurate update to the Perl authentication hook documentation
about return codes.

Modified:
  branches/2.4/doc/pod/hook-perl.pod

---------------+
 hook-perl.pod |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Modified: hook-perl.pod
===================================================================
--- hook-perl.pod	2008-12-26 23:21:47 UTC (rev 8262)
+++ hook-perl.pod	2008-12-27 01:20:59 UTC (rev 8263)
@@ -455,11 +455,11 @@
 by the client during authentication will be used for matching and
 logging.
 
-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.
+The NNTP response code should probably be 281 (authentication successful),
+481 (authentication unsuccessful), or 403 (internal error).  If the code
+returned is anything other than 281, nnrpd will return an authentication
+failure message to the client.  Currently, the distinction between 481
+and 403 is not preserved, but it will be in a future version of INN.
 
 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