Re: Phantom User

Dale E. Reed Jr. ( (no email) )
Wed, 27 May 1998 08:18:41 -0700

Dusan Janjic wrote:
> In a last few days I noticed several times that I have a user with no
> name loged in. I don't remember making any changes to Radius. What can I
> check and what can I do to prevent this from happening?

With RadiusNT 2.2, its possible to login as a username of a "space"
and a correct password. RadiusNT 2.5 with the trimname feature will
prevent this. You can also prevent this by running the following snipet
against your Emerald database every once in a while. The problem is by
default, a string of "" (zero length) is expanded to a string with a
space, and not NULL.

Update SubAccounts
Set Login = NULL
Where Login = ' '

Update SubAccounts
Set Shell = NULL
Where Shell = ' '

Update SubAccounts
Set EMail = NULL
Where EMail = ' '

-- Dale E. Reed Jr.  (       IEA Software, Inc.      |  RadiusNT, Emerald, and NT FAQs Internet Solutions for Today  |