Thanks to you and Alan for the tips. I'll check the latest CVS. Hopefully there is something in the doc directory or sql.conf comments about the new behavior? In any case I can study the code. Sorry about the HTML earlier, I forgot to turn it off.

Dave

Nicolas Baradakis wrote:

Dave Mason wrote:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">


Beurk! It's really unreadable with my mail user agent.
Please don't do it anymore.


Wow - that sounds great. I'd like to avoid having a second client
connection to the database. You were right - after my new RLM module
successfully authenticates a user, it needs to drop some things in
the sql database for a subsequent RADIUS Access-Request.  That
request will be a normal username/password request, auth-type
Local. As you might guess I have a few more questions...


Get the CVS version. From today there is a "postauth_query" support.
Perhaps you don't have to write a new module or patch rlm_sql after
all.

Just put in your sql.conf a line

postauth_query = "INSERT into radcheck (UserName, Attribute, op, Value) values (%s1, %s2, %s3, %s4)"

-- Nicolas Baradakis





- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to