Thanks that seems to build fine. However I can't seem to find any example on how to actually set this up to work in the nntpcache.access file. I have tried a line such as * * read,post,auth and * * read,post,auth * pam Is this documented anywhere on to get pam authentication happening? Thanks Stephen On Wed, 26 Jul 2000, Peter Tonoli wrote: > G'day > > On Thu, 13 Jul 2000, Stephen Fletcher wrote: > > > Im trying to build nntpcache-2.4.0b5 on a debian potato machine. > > The PAM stuff for nntpc was developed on a Debian 2.2 machine. I've > forwarded the following patch to Julian for inclusion in the next > release. > > If there are problems with the formatting / this patch, I'm going to blame > it all on the fog that the flu has surrounded my brain with. Let me know > how it goes. > > Good luck. > Peter. > > diff -ur nntpcache-2.4.0b5/src/authinfo_pam.ext > nntpcache-2.4.0b5-works/src/authinfo_pam.ext > --- nntpcache-2.4.0b5-works/src/authinfo_pam.ext Mon Jun 12 06:01:43 > 2000 > +++ nntpcache-2.4.0b5/src/authinfo_pam.ext Tue Jun 20 00:38:31 > 2000@@ > -19,6 +19,8 @@ > #else > # define EXP_(x) > #endif > +extern authenticator pam_authenticator ; > +extern int pam_got_pass(char *pass); > #ifdef __cplusplus > } > #endif > >