Here is the output of the debug,

modcall: entering group accounting
rlm_acct_unique: Hashing ',Client-IP-Address =
202.123.211.86,NAS-IP-Address = 202.123.211.86,Acct-Session-Id =
"00000D88",User-Name = ""'
rlm_acct_unique: Acct-Unique-Session-ID = "cd7dc9202e9e5117".
  modcall[accounting]: module "acct_unique" returns ok
radius_xlat:  '/radius/radacct/202.123.211.86/detail'
rlm_detail: /radius/radacct/%{Client-IP-Address}/detail expands to
/radius/radacct/202.123.211.86/detail
  modcall[accounting]: module "detail" returns ok
radius_xlat:  ''
  modcall[accounting]: module "sql" returns fail
modcall: group accounting returns fail
Finished request 4

I found no clues here.  Does Anyone?

Raymond


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Alan DeKok
Sent: Thursday, March 28, 2002 8:49 PM
To: [EMAIL PROTECTED]
Subject: Re: accurate accounting when username missing 

"Raymond Chen" <[EMAIL PROTECTED]> wrote:
> I am encountering a problem with accounting writing to Oracle when
> username field is missing.  I understand there are other posts in this
> list with the same question and solution, but it didn't work for me
when
> I used sql_user_name = "%{Stripped-User-Name:-%{User-Name:-none}}" in
> the sql.conf .  when radius_xlat:  ' '  which means no username, then
> the sql module returns fail.  Please help.

  Find out why the translation/substition isn't working.  Run the
server in debugging mode.

  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