Thanks to all!
Now I understand this check item clearly.
But I'm still in trouble:
If I comment MaxSessions line, everyone can connect more than once at a
time.
Since all my users are authenticated against a SQLServer table, how should I
put "Simultaneous-Use" check item for each user?
I tried to use this, with no success (everyone can auth with the right
password, regardless the sim-use item):
AuthSelect select Password, Simultaneous-Use from Customer where
UserName='%n'
AuthColumnDef 0, User-Password, check
AuthColumnDef 1, Simultaneous-Use, check
Am I missing something here?
Cheers,
Ricardo Freire
All Ways Provedor Internet
O Primeiro Provedor Totalmente Digital da Bahia
Link de 1.2Mb, direto com a Embratel!
-----Original Message-----
From: Anton Sparrius <[EMAIL PROTECTED]>
To: Ricardo Freire <[EMAIL PROTECTED]>
Date: Sexta-feira, 19 de Fevereiro de 1999 20:01
Subject: Re: (RADIATOR) Simultaneous-Use question
>I believe that which ever is lowest, takes affect. So if your Maxsessions
>is 1, and your Sim-Use is 2, it will only alow 1. However, in your users
>file, you can put Sim-Use = 1 for the DEFAULT users, and SIm-Use = x for
>ones that you want different. Then, you don't use MaxSess at all.
>
>Regards,
>
>Anton Sparrius
>-------------------------------------------------------
>Smarter Way http://www.smart.net.au
>Email [EMAIL PROTECTED]
>Phone (03) 9846 1711
> Melb 1800-240-829
> Sydn 1800-888-761
>
>
>-----Original Message-----
>From: Ricardo Freire <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Date: Saturday, February 20, 1999 5:42 AM
>Subject: (RADIATOR) Simultaneous-Use question
>
>
>>Hi Mike,
>>
>>I think Simultaneous-Use overrides MaxSessions option, so I can't figure
>out
>>why this is not working here:
>>
>>RADIUS.CFG
>>
>><SessionDatabase SQL>
>> (stuff here)
>></SessionDatabase>
>>
>>
>><Realm allways.com.br>
>> MaxSessions 1
>> AuthByPolicy ContinueUntilAccept
>>
>> <AuthBy EMERALD>
>> (stuff here)
>> </AuthBy>
>>
>> <AuthBy FILE>
>> </AuthBy>
>></Realm>
>>
>>USERS:
>>
>>ricardo Simultaneous-Use = 2,User-Password = "my password"
>>
>>When I try the second connection (actually via radpwtst), I get this log:
>>Fri Feb 19 16:00:10 1999: INFO: Access rejected for ricardo: MaxSessions
>>exceeded
>>(Do you recognize some patch here? :-)
>>
>>(btw, I'm using radpwtst, so I have to "manually" put a record in the
>>sessiondatabase table).
>>
>>Best regards,
>>
>>Ricardo Freire
>>
>>
>>===
>>To unsubscribe, email '[EMAIL PROTECTED]' with
>>'unsubscribe radiator' in the body of the message.
>
===
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.