Settign up postauth to record radius-client name and other information
Greetings, I am trying to figure out how to record the full Auth information into the postauth table in SQL... here is the /var/log/radius/radius.log output: Thu Nov 16 15:06:07 2010 : Auth: Login OK: [testuser/kikikat] (from client Local2 port 21) Thu Nov 16 15:10:00 2010 : Auth: Login incorrect (rlm_pap: CRYPT password check failed): [testuser/kikikat2] (from client Local2 port 1) What I want to store int he radpostauth table is: (These are already working) Date/time, Username, Password, reply(accept/reject), (I want to add these) Calling_Station, Called_Station, NAS_Short_name from clients.conf What %{Attributes} would I use for these? Wm
William wrote:
What I want to store int he radpostauth table is: ... (I want to add these) Calling_Station, Called_Station,
See the debug mode for these attribute names. They're in the packet. Calling-Station-Id and Called-Station-Id.
NAS_Short_name from clients.conf
That's a little more magical: %{client:shortname} Alan DeKok.
participants (2)
-
Alan DeKok -
William