stripped username and accounting

Alexandre Chapellon alexandre.chapellon at mana.pf
Wed Sep 24 01:00:51 CEST 2008


Hello,

I have NASes sending me unstripped username in requests, and a database
with stripped usernames in it (which i use for accounting too).
So i tried setting up proxying (to local) on the desired realms to for
auth and accounting, the problem i face is that acounting is done both
with stripped and unstripped usernames (2 line for one session).
Is it a normal behaviour? how can i prevent this from happening?

here follow informations:

freeradius 2.0.5

##proxy.conf##
realm freeradius {
    auth_pool = local_pool
    acct_pool = local_pool
    ignore_null = yes
    ignore_default = yes
}

realm DEFAULT {
}

##sites-enabled/default##
authorize {
    preprocess
    chap
    mschap
    eap {
                ok = return
        }
    suffix
    sql
    ...
}
accounting {
    ippool
    sql
}




More information about the Freeradius-Users mailing list