I've just upgraded to 1.0.0pre1 from a mid-March CVS build and noticed
that expansion of %{reply:Packet-Type} in my post-auth config returns
null/no longer works.

My post_auth section from radiusd.conf says:

post-auth {
        # log the request
        sql

        Post-Auth-Type REJECT {
                sql
        }
}


and in sql.conf:


postauth_query = "INSERT into ${postauth_table} (AuthLogId, UserName,
Date, Reply, NASIPAddress, FramedIPAddress, CallingStationId,
CalledStationId) values ('', '%{User-Name}', NOW(),
'%{reply:Packet-Type}', '%{NAS-IP-Address}', '%{reply:Framed-IP-Address}',
'%{Calling-Station-Id}', '%{Called-Station-Id}');


I've rolled xlat.c back to an older CVS version and found that 1.70 is the
latest that works and 1.71 is broken too. Everything else is as per stock
1.0.0pre1 tarball. I guess it's something to do with the change from
linked list to rbtree but can't spot it. Anyone?

Cheers,
Dave.



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to