10 Feb
2016
10 Feb
'16
9:15 p.m.
On 10 Feb 2016, at 17:38, Jim Whitescarver <jimscarver@gmail.com> wrote:
I added the authenticate method to the distributed example.py
def authenticate(p): print "*** authenticate ***" print p return radiusd.RLM_MODULE_OK
but still getting
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
Have you tried just returning 2? That's the actual C value of RLM_MODULE_OK. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2