How do I get every userid passed to an rlm_python module

Jim Whitescarver jimscarver at gmail.com
Thu Feb 11 01:00:54 CET 2016


I finally fixed the shared secret problem, but now I have no idea why is is
not authenticating.  All the python methods return  radiusd.RLM_MODULE_OK


In mods-available/python I have

 module = example

In /sites-available/default I have

authenticate {
        Auth-Type python {
                python
        }
but I get
 Found Auth-Type = python
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0)   Auth-Type python {
(0)     [python] = noop
(0)   } # Auth-Type python = noop
(0) Failed to authenticate the user
(0) Using Post-Auth-Type Reject

Any clues?

Thanks,

Jim


On Wed, Feb 10, 2016 at 4:00 PM, Alan DeKok <aland at deployingradius.com>
wrote:

> On Feb 10, 2016, at 3:58 PM, Jim Whitescarver <jimscarver at gmail.com>
> wrote:
> > Dropping packet without response because of error: Received packet from
> > 127.0.0.1 with invalid Message-Authenticator!  (Shared secret is
> incorrect.)
> >
> > Investigating how to fix that....
>
>   The shared secret is wrong. :)
>
>   Or, the RADIUS client is buggy.
>
>   Pick one.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>


More information about the Freeradius-Users mailing list