freeradius@reshetar.us wrote:
Greetings. I am using freeradius and want to do the following: 1. proxy authentication to a secondary server for two-factor authentication 2. if the user is authenticated via the home server, add attributes via definitions from the local freeradius server from a sql database
See postauth_query.
Alan DeKok.
From what I can tell, that only enters accounting data into the database. is there something I am missing?
The other thing I don't get: I ran radiusd in debug mode, and saw the following line:
SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'xxxxx' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id
This query select the attributes that I want to have sent back. However, the reply detail logs show that the attributes are not sent.
The only thing I can think of is that the user I am testing with is a memmber of several groups and only one of them has attributes to return at the moment.
Thanks
Since no one ever got back to me on this, I assume either a. i pissed off the folks that monitor this list b. no one has the answer or c. i missed the obvious and no one wanted to point it out. The solution I came up with was to set post_proxy_authorize = yes freeradius now passes back the attributes in the sql database. Still would like to konw how to make this work with postauth_query, but I can't seem fin d any indications of how to do that..... input would be appreciated. respectfully submitted.....
freeradius@reshetar.us wrote: People might be able to do more if they had configs and debug output (-X) -- Groeten, Regards, Salutations, Thor Spruyt M: +32 (0)475 67 22 65 E: thor.spruyt@telenet.be W: www.thor-spruyt.com www.salesguide.be www.telenethotspot.be
participants (2)
-
freeradius@reshetar.us -
Thor Spruyt