Hello Janet -

What you are trying to do below will not work. Two different session 
databases are for two different populations of users, and the same username 
can exist in both, but subject to different limits.

If you want to check both session databases, you will have to write some 
custom code, probably a PostAuthHook. There are some example hooks in the 
file "goodies/hooks.txt" in the Radiator 2.17.1 distribution.

Alternatively, you could alter the table structure and just use one session 
database which would contain the additional data required to distinguish 
between dialup and DSL.

hth

Hugh


On Thursday 08 March 2001 07:30, Janet N. del Mundo wrote:
> Hi Everyone,
>
> I'm wondering if Simultaneous Use checks different SessionDatabases.
> I'm using 2 SessionDatabases in my cfg file - (1) DSL Users, (2) Regular
> Dialup.  However, I'm testing logging in at the same time and the same
> user is getting connected DSL and dialup.
>
> Can anybody help?
> Thanks,
> Janet
>
> <SessionDatabase SQL>
>         Identifier DSL-SessionCheck
>         DBSource dbi:ODBC:...
>         DBUsername ...
>         DBAuth ...
> </SessionDatabase>
>
> <SessionDatabase DBM>
>         Identifier Dialup-SessionCheck
>         Filename %D/online
> </SessionDatabase>
>
> <Handler NAS-IP-Address = 202.128.81.2>
>         SessionDatabase DSL-SessionCheck
>         PasswordLogFileName     %D/gtapass.log.%y%m
>         AuthByPolicy ContinueWhileAccept
>         AuthBy Check-Users
>
>         <AuthBy FILE>
>                 Filename %D/users-sql
>                 AddToReply Service-Type = Annex-Framed-Tunnel
>                 AddToReplyIfNotExist Framed-IP-Address = 255.255.255.254
>         </AuthBy>
>
>         AuthBy SQL
> </Handler>
>
> <Handler Request-Type = Accounting-Request>
>         AuthByPolicy ContiueAlways
>         AuthBy SQL
> </Handler>
>
> <Handler>
> #       PasswordLogFileName     %D/pass.log.%y%m
>         SessionDatabase Dialup-SessionCheck
>         AuthByPolicy ContinueWhileAccept
>
>         AuthBy Check-Users
>
>         <AuthBy FILE>
>                 Filename %D/users-sql
>                 AddToReplyIfNotExist Framed-IP-Address = 255.255.255.254
>         </AuthBy>
>
> </Handler>
>
> ===
> 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.

-- 
Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.


===
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