(RADIATOR) How to strip realm from in SessinDatabase?

Huaikun Lin lin at actrix.co.nz
Wed Aug 21 17:13:44 CDT 2002


Hi

We use SQL server as the Session Database.

But I don't want the user name shows up as username at xxx.xx.xx in RADONLINE 
table.

In SessionDatabase,how do I strip the realm xxx.xx.xx?

Even I tried adding RewriteUsername s/^([^@]+).*/$1/ clause in 
SessionDatabase like the following, the username still shows up as
username at xxx.xx.xx in RADONLINE table.

<SessionDatabase SQL>
                 RewriteUsername s/^([^@]+).*/$1/
                 DBSource        dbi:Sybase:server=xxxx;database=xxxx
                 DBUsername      xxxxxx
                 DBAuth  xxxxxx

</SessionDatabase SQL>

How to solve the problem?

Lin

===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list