INN-2.3.0, nnrpd and perl authentication

Jan Rychter jwr at icm.edu.pl
Fri Sep 15 22:45:01 UTC 2000


It seems to me that perl authentication won't work unless this little
change is applied:

--- ../nnrpd.old/nnrpd.c        Mon Aug 21 08:14:43 2000
+++ nnrpd.c     Wed Sep 13 16:41:55 2000
@@ -513,7 +513,7 @@
                   NNTP_ACCESS_VAL);
            ExitWithStats(1, TRUE);
        }
-       NGgetlist(&PERMreadlist, accesslist);
+       PERMspecified = NGgetlist(&PERMreadlist, accesslist);
        PERMpostlist = PERMreadlist;
        if (!authconf)
            authconf = NEW(ACCESSGROUP, 1);

Also, the example nnrpd_auth.pl and README.perl_hook disagree as to the
number of arguments that authenticate() should return. The example file
is wrong.

best regards,
--Jan



More information about the inn-workers mailing list