trying to use Post-Auth-Type REJECT to insert users
tnt at kalik.net
tnt at kalik.net
Sun Mar 15 10:35:43 CET 2009
>The high level goal is to have a new radius server "slurp" all the
>users on a DSL ATM aggregation link into a SQL database.
>We are taking over a bunch of users from a defunct ISP and don't have
>the UserName / Password data.
>
>What I'm thinking is that there should be a way to have Post-Auth-Type REJECT
>do two SQL insert commands. Then when the user tries to auth again
>there will be a valid user.
>
>Will this work ??
Only for PAP requests. They will have both username and clear text
password in them. It won't work with any other authentication method.
>How to have two SQL statements run when this event is triggered???
>
See man unlang.
>Is there a better way ??
Don't they have a backup of their user database on a tape/DVD?
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list