At 04:53 PM 3/18/2002 -0800, Bond Bonds wrote:
>Hi,
>
>I'm using Freeradius 0.4 on Redhat 7.2. I'm using the
>radius server to log radius accounting from Cisco
>gateways into an Oracle database.
>I noticed that the sql module returned a 'fail' status
>if the username is null. Is it okay if I just remark
>the line that 'set, escape, and check user attr'? I've
>tried this and it recompiles without any problem. And
>it seems to work. But I was wondering what are the
>implication of doing this? Are there anyone who could
>tell me, or maybe, hava a better solution for this?
>FYI, I *must* regard the username attr because I'm
>only doing a voip accounting log, where there are no
>username involved in doing so.

See this list archives.  You can set the SQL query so that is
uses the User-Name attribute *if present* or uses 'None' if
it is not.

-Chris

--
    \\\|||///  \          StarNet Inc.      \        Chris Parker
    \ ~   ~ /   \       WX *is* Wireless!    \   Director, Engineering
    | @   @ |    \   http://www.starnetwx.net \      (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
                   \ Wholesale Internet Services - http://www.megapop.net



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

Reply via email to