Hello David -
On Sat, 25 Sep 1999, David Lloyd wrote:
> Hopefully it's my last. :-)
>
> We have a setup where the first letter of the user's dialup name specifies
> the protocol type to use, for instance, S for slip, P for PPP, etc.
>
> My question is, is there a way that I can have Suser and Puser count as
> one user in the session database? If I use Prefix="S" will that remove
> the character before putting the username in the database? What about
> Rewrite-Username? Does the rewritten username get put in the database, or
> is the original name put in there?
>
The standard configuration uses the original username including prefix.
I would probably do this by specifying a SessionDatabase in SQL and writing
custom queries to do what you require:
# Set up a session database using an SQL database
<SessionDatabase SQL>
DBSource .....
DBUsername .....
DBAuth .....
AddQuery insert into .....
DeleteQuery delete from .....
ClearNasQuery delete from .....
CountQuery select .....
</SessionDatabase>
hth
Hugh
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
NT, Rhapsody
===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.