Ok, I made that adjustment (thank you a lot, that makes more sense actually to put in post-proxy), but for some reason, I'm still not seeing any write entries to the database. Am I missing something? I see cache working, correctly I think...but no updates to the database (timestamps are the same on radcheck).
rlm_sql (sql): Released sql socket id: 4
[sql] User tester not found
++[sql] = notfound
++? if (notfound)
? Evaluating (notfound) -> TRUE
++? if (notfound) -> TRUE
++if (notfound) {
+++update control {
+++} # update control = noop
[cache] expand: %{User-Name} -> tester
+++[cache] = notfound
+++update control {
+++} # update control = noop
+++? if (!notfound)
? Evaluating !(notfound) -> TRUE
+++? if (!notfound) -> TRUE
+++if (!notfound) {
++++update control {
++++} # update control = noop
+++} # if (!notfound) = noop
+++ ... skipping else for request 0: Preceding "if" was taken
++} # if (notfound) = noop
+} # group authorize = ok
WARNING: Empty pre-proxy section. Using default return values.
Sending Access-Request of id 95 to 192.168.1.35 port 1812
User-Name = "tester"
User-Password = "suckit"
NAS-IP-Address = 192.168.1.136
NAS-Port = 0
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x313331
Proxying request 0 to home server 192.168.1.35 port 1812
Sending Access-Request of id 95 to 192.168.1.35 port 1812
User-Name = "tester"
User-Password = "suckit"
NAS-IP-Address = 192.168.1.136
NAS-Port = 0
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x313331
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Accept packet from host 192.168.1.35 port 1812, id=95, length=25
Proxy-State = 0x313331
# Executing section post-proxy from file /etc/raddb/sites-enabled/default
+group post-proxy {
[eap] No pre-existing handler found
++[eap] = noop
[cache] expand: %{User-Name} -> tester
[cache] expand: reply:Reply-Message -> reply:Reply-Message
[cache] expand: Cache last updated at %t -> Cache last updated at Fri Jun 13 18:58:10 2014
[cache] expand: ssssssssssssssssssssssssssssssss -> ssssssssssssssssssssssssssssssss
[cache] expand: %{randstr:ssssssssssssssssssssssssssssssss} -> IwEpAi6ylyNZ8zQoYOtW2xjHN.h52sgi
rlm_cache: Adding entry for "tester", with TTL of 10
++[cache] = updated
+} # group post-proxy = updated
Found Auth-Type = Accept
Auth-Type = Accept, accepting the user
# Executing section post-auth from file /etc/raddb/sites-enabled/default
+group post-auth {
++[exec] = noop
+} # group post-auth = noop
Sending Access-Accept of id 131 to 127.0.0.1 port 48539
Reply-Message += "reply:Reply-Message"
Reply-Message += "Cache last updated at Fri Jun 13 18:58:10 2014"
Class := 0x49774570416936796c794e5a387a516f594f745732786a484e2e683532736769
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 0 ID 131 with timestamp +40
Ready to process requests.