Hello Stephen -

On Sat, 28 Oct 2000, Delanet Administration wrote:
> I've made a few changes to my sessiondatabase section and radiator does
> not seem to honor all of them. In paticular, the username seems to be
> returned as the plain value returned by the NAS (%u) despite my having
> changed it to %n.  I have it declared as follows:
> 
> <SessionDatabase SQL>
>  DBSource dbi:mysql:radius
>  DBUsername xxxxxxx
>  DBAuth  xxxxxxxxxx
> 
>  AddQuery insert into RADONLINE (USERNAME, NASIDENTIFIER, NASPORT,
> ACCTSESSIONID, TIME_STAMP, FRAMEDIPADDRESS, NASPORTTYPE, SERVICETYPE,
> NASPortDNIS, CallerID, ConnectInfo) values ('%n', '%N', 0%{NAS-Port},
> '%{Acct-Session-Id}', %{Timestamp}, '%{Framed-IP-Address}',
> '%{NAS-Port-Type}',
> '%{Service-Type}','%{Called-Station-Id}','%{Calling-Station-Id}','%{Connect-Info}')
> 
> </SessionDatabase>
> 
> I know it does see my changes as the addition of the caller source and
> destination as well as connect-info does work. Only the username refuses
> to change. I'm hoping this is not normal? And is there a way around this
> as it is necessary for me to change.
> 
> I'm using Radiator 2.16.3 on FreeBSD 4.1.0r with MySQL 3.23.26b.
> 

Can you send me a trace 4 debug showing what is happening?

Changing the AddQuery should do what you expect, but perhaps you could give me
a bit more detail on exactly what your requirements are.

thanks

Hugh


-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.



===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to