If you had read the original message that I sent, you would see what I am trying to do.
I have to be able to check both username and called-station-id. Thanks, Murrah Boswell CTA wrote: > > On 5 Nov 2002, at 14:44, WA Support wrote: > > From: WA Support <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Re: Simultaneous-User Questions > Send reply to: [EMAIL PROTECTED] > <mailto:freeradius-users-request@;lists.cistron.nl?subject=subscribe> > <mailto:freeradius-users-request@;lists.cistron.nl?subject=unsubscribe> > Date sent: Tue, 05 Nov 2002 14:44:19 -0700 > > > What I want to do is check for username and called-station-id. > > The NAS reporst this back to freeradius, since it is recorded in > > the detail file. It should be very simple to rework the source > > for freeradius, i.e., radiusd.c, and check for both the username > > and the called-station-id, right? > >>> > If all you want to do is to check username and called-station-id, > then why not use some regx logic: > > proxy to here... > > # Can we talk? > tester Auth-Type := Reject, Called-Station != "number" > > # Good, then let me in? > tester Auth-Type := XYZ, Password == "letmein", > Simultaneous-Use := 1 > Fall-Through = Yes > > DEFAULT ... etc > > bernie > [EMAIL PROTECTED] > > > > > > But, from the perl world, checkrad.pl is used to check for > > simultaneous use, according to the docs that came with > > freeradius. However, I can not see that anything calls > > checkrad.pl. Does anyone know what does call checkrad.pl? > > > > Thanks, > > Murrah Boswell > > > > Alan DeKok wrote: > > > > > > WA Support <[EMAIL PROTECTED]> wrote: > > > > What I am trying to do is support the case where I have a > > > > user at IPS1 with the same username as a user at IPS2. > > > > > > For general information about this situation, see: > > > doc/duplicate-users > > > > > > > From what I can read, freeradius just queries the CVX (in > > > > this case) for the username and if it sees a session with > > > > that username, it will not allow another one, correct? > > > > > > Yes. > > > > > > > How can I make freeradius check for the username AND the > > > > Called-Number? > > > > > > No, it checks for a specific user has logged into a specific > > > port. > > > > > > The issue appears to be that you want to keep track of users > > > locally > > > by information OTHER than their username, but to check for > > > Simultaneous-Use on the NAS by username and NAS port. > > > > > > I'm not sure how to do this right now. > > > > > > Alan DeKok. > > > > > > - > > > List info/subscribe/unsubscribe? See > > > http://www.freeradius.org/list/users.html > > > > - > > List info/subscribe/unsubscribe? See > > http://www.freeradius.org/list/users.html > > > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > This email and any files transmitted with it are confidential and are > intended solely for the use of the individual or entity to whom they are > addressed. This communication may contain material protected by the > attorney-client privilege. If you are not the intended recipient, be > advised that you have received this email in error and that any use, > dissemination, forwarding, printing, or copying of this email is strictly > prohibited. If you have receive this email in error, please immediately > notify the sender by email. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html