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
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!