Issues with building Freeradius on CentOS 6.5: need rlm_cache

Brandon Jozsa bjozsa at gmail.com
Sun Jun 15 18:32:13 CEST 2014


Ok, so here is the configuration. I feel horrible for trying keeping this
thread alive (everyone has helped a lot and I'm very thankful for the
responses). I get a reject when trying the unlang suggestion. Most of it
makes sense, but I'm not sure what I'm missing. If you need/want more
debug, I can definitely provide. If I'm being slow, I sincerely apologize.

authorize {
preprocess
auth_log
chap
mschap
digest
suffix
eap {
ok = return
}
files
expiration
logintime
pap
sql
if (notfound) {
update control {
Cache-Status-Only = 'yes'
}
cache
update control {
Cache-Status-Only !* ANY
}
if (!notfound) {
update control {
Proxy-To-Realm := <realm>
}
}
else {
cache
}
}
}
authenticate {
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
Auth-Type MS-CHAP {
mschap
}
digest
unix
eap
}
preacct {
preprocess
acct_unique
suffix
files
}
accounting {
detail
unix
radutmp
sql
exec
}
session {
radutmp
sql
}
post-auth {
exec
Post-Auth-Type REJECT {
attr_filter.access_reject
}
}
pre-proxy {
}
post-proxy {
        cache
}


On Sun, Jun 15, 2014 at 9:27 AM, Brandon Jozsa <bjozsa at gmail.com> wrote:

> I get a reject now. I'll have to really dive into this...something just
> isn't clicking correctly.
>
>
> On Sun, Jun 15, 2014 at 2:13 AM, Arran Cudbard-Bell <
> a.cudbardb at freeradius.org> wrote:
>
>
>> On 14 Jun 2014, at 21:08, Brandon Jozsa <bjozsa at gmail.com> wrote:
>>
>> > 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).
>>
>>
>> Sorry, that should have been:
>>
>>                 # Not found - Proxy request
>>                 if (notfound) {
>>                         update control {
>>                                 Proxy-To-Realm := <realm>
>>                         }
>>                 }
>>
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>
>
> --
> Brandon
>



-- 
Brandon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140615/a7c207cd/attachment-0001.html>


More information about the Freeradius-Users mailing list