Hello . i want to ask several questions : 1) Is INN on Centos5.1 compiled with python auth hooks support? 2) If i want my messages on news server to keep forever (history) , should i change expire.ctl? What i need to set 3) Is there some configuration which i need to set to be able to use python auth hooks? Or can i simple proceed with adding them to readers.conf ( I allready tested my nnrpd_auth.py with nnrpd.py, which is working (nnrpd module is imported ). Thanks in advance! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080603/17221d96/attachment-0002.html>
This is so far i have in readers.conf : auth "pdg" { hosts: "*" python-auth: "/opt/pdg/nnrpd_auth.py" } access "pdg" { newsgroups: "hlacik.*" access: RPA } And this is what i am getting from log : syntax error in /etc/news/readers.conf(140), Unexpected token: /opt/pdg/nnrpd_auth.py On Tue, Jun 3, 2008 at 11:33 PM, David Hl??ik <david at hlacik.eu> wrote:> Hello . i want to ask several questions : > > 1) Is INN on Centos5.1 compiled with python auth hooks support? > 2) If i want my messages on news server to keep forever (history) , should > i change expire.ctl? > What i need to set > > 3) Is there some configuration which i need to set to be able to use python > auth hooks? Or can i simple proceed with adding them to readers.conf ( I > allready tested my nnrpd_auth.py with nnrpd.py, which is working (nnrpd > module is imported ). > > Thanks in advance!-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20080604/e5ea0bdb/attachment-0002.html>
David Hl??ik wrote:> Hello . i want to ask several questions : > > 1) Is INN on Centos5.1 compiled with python auth hooks support?Look in the spec file in the src.rpm. No idea. But ldd /path/to/innd should also be able to tell you if it is linked against python: libpython2.4.so.1.0 => /usr/lib/libpython2.4.so.1.0 (0xb7d4d000) (That's on a debian box, so it might differ on yours).> 2) If i want my messages on news server to keep forever (history) , should i > change expire.ctl? > What i need to sethlacik.*:A:never:never:never (last match is used, so if you have some other matching entry *below* that, this will not work. Just put it as the last line). Cheers, Ralph -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20080604/0508c952/attachment-0002.sig>