Re: [RadiusNT] concurrency checking problem with roaming dial-ups

Josh Hillman ( (no email) )
Fri, 6 Oct 2000 18:07:16 -0400

Dale,

Thanks for the update. I replaced my old one with that...

Josh

----- Original Message -----
From: "Dale E. Reed Jr." <daler@iea-software.com>
To: <radiusnt@iea-software.com>
Sent: Friday, October 06, 2000 4:36 PM
Subject: Re: [RadiusNT] concurrency checking problem with roaming dial-ups

> Josh Hillman wrote:
> >
> > About a minute after I sent my message, I found the RadCheckOnline sp
and
> > added one line to the end:
> >
> > CREATE PROCEDURE RadCheckOnline @UserName varchar(64) AS
> > Select Count(*) From CallsOnline Where UserName=@UserName and
> > AcctStatusType=1
> > AND NasIdentifier LIKE '123.123.%'
> >
> > I used the first two octets of an IP address there because all local
NASes
> > have the same first two octets and all roaming NASes are something
> > completely different.
> >
> > This should also do the trick, right?
> > The first two lines of the sp were never modified and came from whatever
> > Emerald script generated the sp a while back.
>
> Thats a lot of overhead. All new installs of Emerald use this script:
>
> CREATE PROCEDURE RadCheckOnline @Username varchar(64) AS
> SELECT COUNT(*) FROM ServerPorts (NOLOCK)
> WHERE Username=@Username AND AcctStatusType in (1,3)
> GO
>
> Which is much faster and does what you want.
>
>
> --
>
> Dale E. Reed Jr. Emerald and RadiusNT/X
> __________________________________________
> IEA Software, Inc. www.iea-software.com
>
> For more information about this list (including removal) go to:
> http://www.iea-software.com/support/maillists/liststart
>

For more information about this list (including removal) go to:
http://www.iea-software.com/support/maillists/liststart