multiple post-auth sql queries, possible?
    Duane Cox 
    duanec at illicom.net
       
    Thu Jul 13 16:32:03 CEST 2006
    
    
  
Is it possible to run a module twice in one section... 
meaning can I run the sql module twice in the post-auth section ?
I am thinking I could, but I would have to call it by a new name and then copy the lib files to also this new name.
Thanks
Duane Cox
  ----- Original Message ----- 
  From: Duane Cox 
  To: freeradius-users at lists.freeradius.org 
  Sent: Wednesday, July 12, 2006 4:24 PM
  Subject: multiple post-auth sql queries, possible?
  Hello List
  Is there a way to have freeradius 1.1.1 send two or more sql postauth queries?
  I tried to put together an update statement and an insert statement with a "go" command, but mssql didn't like it because the insert, go, update was all on the same "line"
  executing the above statement; but broken out on three lines with "go" by itself, works, but I'm not sure if I can do this in freeradius.
  So is it possible to have freeradius process sql1 and then sql2 in the post-auth section, if so what would be the best way to set this up.
  here is my current config ...
  post-auth {
           sql
          Post-Auth-Type REJECT {
                  sql
          }
  }
  and then mssql.conf contains one postauth_query
  Thanks
  Duane Cox
------------------------------------------------------------------------------
  - 
  List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060713/6897924f/attachment.html>
    
    
More information about the Freeradius-Users
mailing list