[prev in list] [next in list] [prev in thread] [next in thread] 

List:       inn-workers
Subject:    Re: Re: Using perl_access in readers.conf
From:       "Rogerio M. S. Novo" <rogerio () dr ! ufu ! br>
Date:       2003-07-21 11:31:06
[Download RAW message or body]

Didn't work.


--
Rogério Moreno da Silva Novo
UFU - Universidade Federal de Uberlândia


--------- Mensagem Original --------
De: Erik Klavon <erik@eriq.org>
Para: Rogerio. M. S. Novo <rogerio@dr.ufu.br>
Cópia: inn-workers@isc.org
Assunto: Re: Re: Using perl_access in readers.conf
Data: 18/07/03 18:00

>
> Hi
>
> This is just a wild guess: can you change
>
> &quot;max_rate&quot; =&gt; &quot;10000&quot;,
>
> to
>
> &quot;max_rate&quot; =&gt; &quot;10000 &quot;,
>
> and let us know if that fixes your problem?
>
> Thanks
>
> Erik
>
> On Thu, Jul 17, 2003 at 10:02:08AM -0300, Rogerio. M. S. Novo wrote:
> &gt; The problem appear when i append the command perl_access in the
> &gt; readers.conf.
> &gt; Without the perl_access the system works perfectly.
> &gt;
> &gt;
> &gt; I using the script example only to test.
> &gt; Here is the script..
> &gt;
> &gt;
****************************************************************************
> &gt; my %hosts = ( &quot;example.com&quot; =&gt; &quot;example.*&quot;,
&quot;isc.org&quot; =&gt; &quot;isc.*&quot; );
> &gt;
> &gt; sub access {
> &gt; %return_hash = (
> &gt; &quot;max_rate&quot; =&gt; &quot;10000&quot;,
> &gt; &quot;addnntppostinghost&quot; =&gt; &quot;true&quot;,
> &gt; );
> &gt;
> &gt; if( defined $attributes{username} &amp;&amp;
> &gt; $attributes{username} =~ /.*@*/ )
> &gt; {
> &gt; $return_hash{&quot;virtualhost&quot;} = &quot;true&quot;;
> &gt; $return_hash{&quot;path&quot;} = $1;
> &gt; $return_hash{&quot;newsgroups&quot;} = $hosts{$1};
> &gt; } else {
> &gt; $return_hash{&quot;read&quot;} = &quot;*&quot;;
> &gt; $return_hash{&quot;post&quot;} = &quot;local.*&quot;
> &gt; }
> &gt; return %return_hash;
> &gt; }
> &gt;
****************************************************************************
> &gt;
> &gt;
> &gt; --
> &gt; Rog?rio Moreno da Silva Novo
> &gt; UFU - Universidade Federal de Uberl?ndia
> &gt;
> &gt;
> &gt; --------- Mensagem Original --------
> &gt; De: Jeffrey M. Vinocur &lt;jeff@litech.org&gt;
> &gt; Para: Rogerio. M. S. Novo &lt;rogerio@dr.ufu.br&gt;
> &gt; C?pia: inn-workers@isc.org
> &gt; Assunto: Re: Using perl_access in readers.conf
> &gt; Data: 17/07/03 12:45
> &gt;
> &gt; &gt;
> &gt; &gt; On Thu, 17 Jul 2003, Rogerio. M. S. Novo wrote:
> &gt; &gt;
> &gt; &gt; &amp;gt; But when i append the option perl_access in my
readers.conf the
> &gt; system
> &gt; &gt; &amp;gt; doesn't work.
> &gt; &gt;
> &gt; &gt; You're sure that's the change responsible for the error?
> &gt; &gt;
> &gt; &gt; &amp;gt; Jul 17 09:17:14 marcos nnrpd[16074]: marcos.dr.ufu.br
syntax error in
> &gt; &gt; &amp;gt; (null)(2),
> &gt; &gt; &amp;gt; Unexpected token:
> &gt; &gt;
> &gt; &gt; *blink*  Weird.
> &gt; &gt;
> &gt; &gt; I don't see what control flow path through perm.c could result
in that
> &gt; &gt; output, where the filename is null and the token is not
printable.  Or,
> &gt; &gt; for that matter, where the '(null)' comes from.
> &gt; &gt;
> &gt; &gt; --
> &gt; &gt; Jeffrey M. Vinocur
> &gt; &gt; jeff@litech.org
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt; &gt;
> &gt;
> &gt; ________________________________________________
> &gt; Mensagem enviada utilizando UFU Mail 1.0
> &gt;
> &gt;
>
> --
> erik         | &quot;It is idle to think that, by means of words, |
Maurice
>   kl@von     | any real communication can ever pass | Maeterlinck
>     eriq.org | from one [human] to another.&quot; | Silence
>
>
>
>
>
>

________________________________________________
Mensagem enviada utilizando UFU Mail 1.0


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic