RADZAP - Empty Location
Aurélio de Souza Ribeiro Neto
netolistas at mpc.com.br
Thu Mar 2 12:07:21 CET 2017
Alan,
Thanks for you reply!
Nowadays I'm working with both, in Freeradius-2-2.9
Removing radutmp, how can I use radwho, radzap, etc? Radwho is only
for radutmp right?
Look my defaults. To disable radutmp I just need to remove the
entry? Any other hint for my defaults file?
authorize {
preprocess
pap
chap
mschap
digest
eap {
ok = return
}
sql
expiration
logintime
if(!control:Auth-Type){
update control {
Auth-Type := PAP
}
ok
}
}
authenticate {
Auth-Type PAP {
pap {
fail = 1
}
if(fail) {
update control {
Pool-Name := "mkt_pool"
}
update reply {
Mikrotik-Rate-Limit := "300K/2M 600K/2200K
450K/1500K 10/10"
}
ok
}
}
Auth-Type CHAP {
chap {
invalid = 1
}
if(invalid) {
update control {
Pool-Name := "mkt_pool"
}
update reply {
Mikrotik-Rate-Limit := "300K/2M 600K/2200K
450K/1500K 10/10"
}
ok
}
}
Auth-Type MS-CHAP {
mschap {
reject = 1
}
if(reject) {
update control {
Pool-Name := "mkt_pool"
}
update reply {
Mikrotik-Rate-Limit := "300K/2M 600K/2200K
450K/1500K 10/10"
}
ok
}
}
digest
unix
eap
}
preacct {
preprocess
acct_unique
accounting {
detail
unix
radutmp
sradutmp
sqlippool
sql
if (noop){
ok
}
#sql_log
attr_filter.accounting_response
}
session {
# radutmp
sql
}
post-auth {
sqlippool
}
Em 01/03/2017 15:45, Alan DeKok escreveu:
> On Mar 1, 2017, at 11:38 AM, Aurélio de Souza Ribeiro Neto <netolistas at mpc.com.br> wrote:
>> Dear Alan or Everyone,
>>
>> I had a problem in my checkrad, and some users are in radwho with
>> an "Empty Location", like this example
> ...
>> How can I zap this user?
> Delete radutmp, and use SQL for logging.
>
> radutmp is historical going back to 1993. It should be replaced with a modern database.
>
> Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
More information about the Freeradius-Users
mailing list