auth-type local trouble in 2.0.1

Oleg Kozheltsev axel at dnepr.net
Mon Mar 24 16:40:26 CET 2008


Ivan Kalik wrote:
> I don't quite get what do you want to do. Check attributes via exec
> program? That should still work. Only use updated attributes in the
> script.

>> Ivan Kalik wrote:
>>> No, it's not a bug. All the documentation suggests not to use
>>> User-Password and not to set Auth-Type.
>>>> TEST            User-Password == "TEST", Auth-Type := Local
>>>>                 Exec-Program-Wait = "/home/corp/aaa/auth_test"
>> ok, thx (and A.L.M.Buxey at lboro.ac.uk too), with PAP module I've been
>> authenticated. But what about Exec-Program-Wait? I know, it was
>> deprecated a long time. In 2.x only rlm_exec left? All my scripts
>> written for print 3 attributes in one time. Can be 'exec' use for that
>> some way?... Thanks again.

Resolve problem only this way:

TEST            Cleartext-Password := "TEST"
                 h323-return-code = 
`%{auth_call:/home/corp/aaa/auth_test h323_return_code}`,
                 h323-prompt-id = `%{auth_call:/home/corp/aaa/auth_test 
h323_prompt_id}`,
                 Cisco-AVPair = `%{auth_call:/home/corp/aaa/auth_test 
h323_ivr_in}`

And for accounting Exec-Program don't work anymore... So I create exec 
acc_call { program = "" } module too (with auth_call module).
Now I with freeradius 2.0.1 :)



More information about the Freeradius-Users mailing list