]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Added missing post-auth configuration
authorAlan T. DeKok <aland@freeradius.org>
Thu, 22 Sep 2011 13:53:13 +0000 (15:53 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 22 Sep 2011 13:53:13 +0000 (15:53 +0200)
raddb/sql/oracle/dialup.conf

index 1c95da3d842d5e9e923dbe1ae14369b5010ceba4..5820cb493b8fbad1cbcdcd55dc8ddae6f4b02fb7 100644 (file)
@@ -179,3 +179,14 @@ accounting_stop_query_alt = "INSERT into ${acct_table2} (RadAcctId, AcctSessionI
 
        group_membership_query = "SELECT GroupName FROM ${usergroup_table} WHERE UserName='%{SQL-User-Name}'"
 
+        # Authentication Logging Queries
+        #######################################################################
+        # postauth_query                - Insert some info after authentication
+        #######################################################################
+
+        postauth_query = "INSERT INTO ${postauth_table} \
+                          (username, pass, reply, authdate) \
+                          VALUES ( \
+                          '%{User-Name}', \
+                          '%{%{User-Password}:-%{Chap-Password}}', \
+                          '%{reply:Packet-Type}', TO_TIMESTAMP('%S','YYYY-MM-DDHH24:MI:SS'))"