The logging to the sql database is working the way I want it.
Stripped user name is logged into the username field of radacct tables.

The detail file for atribute User-Name is the non-stripped username.
I want to have that field state the stripped username.

How does sql.conf help me?
The only reference I need to make in sql.conf is 
sql_user_name = "%{Stripped-User-Name:-%{User-Name:-DEFAULT}}"

How does the sql.conf have an influence on how the user-name attribute
is written to the detail file?

Thanks.
Sam




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan DeKok
Sent: Friday, December 05, 2003 1:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Replacing User-Name Attribute 

"Samuel Hill" <[EMAIL PROTECTED]> wrote:
> In the detail files the User-Name shows up as the entire non stripped
> user name. I need the User-Name field to show up as the
> Stripped-User-Name instead.
> 
> How can this be done?

  Read sql.conf.

  Alan DeKok.

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


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

Reply via email to