No need to insert id into an auto increment field
authorpnixon <pnixon>
Tue, 17 Jul 2007 08:35:34 +0000 (08:35 +0000)
committerpnixon <pnixon>
Tue, 17 Jul 2007 08:35:34 +0000 (08:35 +0000)
raddb/sql.conf

index 28eace0..fe5ed33 100644 (file)
@@ -322,7 +322,7 @@ sql {
        # postauth_query                - Insert some info after authentication
        #######################################################################
 
-       postauth_query = "INSERT into ${postauth_table} (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"
+       postauth_query = "INSERT into ${postauth_table} (user, pass, reply, date) values ('%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"
 
        #
        # Set to 'yes' to read radius clients from the database ('nas' table)