Re: Radius.exe crashes during NAS request

Thomas Kernen ( tkernen@deckpoint.ch )
Thu, 24 Jul 1997 15:57:36 +0200

Okay, I was trying to move my radius users from the ascii file to the
odbc version onto our MS SQL server. Everything works okay when testing
with the radlogin.exe. On the other hand, when the NAS (Max4000) sends a
request to radius, the radius.exe crashes (as stated in my previous
messages).

Anyway, I moved from the 1.16.33 executable to the 1.16.60 and I
encounter one problem, the "decryped password" is not in clear text
anymore. I havn't changed any flags so I don't understand where the
problem is.

Any idea?

Following is the output of both versions:

Using Radius 1.16.33

radrecv: Request from host 7f000001 code=1, id=1, length=0
NAS-Identifier = 127.0.0.1
NAS-Port = 0
User-Name = "tkernen"
Password = "hL\331\2556\210[\207\334v\346l\371.\311\322"
rad_authenticate_ODBC()
Password = "hL\331\2556\210[\207\334v\346l\371.\311\322"
Decrypted Password: "Text in clear"
Allocating ODBC Henv...
Allocating ODBC Connect...
Making ODBC Connection...
Allocating Statement...

SQL Statement: Select maExpireDate, ma.extension, saExpireDate,
sa.extension, s
a.AccountID, sa.AccountType, sa.Password, sa.Login, sa.Shell From
MasterAccounts
ma, SubAccounts sa Where sa.Login='tkernen' AND
ma.CustomerID=sa.CustomerID and
sa.Active=1 and ma.Active=1

Freeing SQL Statement...
Allocating Statement...

SQL Statement: Select ra.RadAttributeID, Name, Data, Value, Type From
RadConfig
s rc, RadAttributes ra Where ra.RadAttributeID=rc.RadAttributeID AND
rc.AccountI
D=446

Freeing SQL Statement...
Loading radius defaults for this type...
Allocating Statement...
Allocating Statement...

SQL Statement: Select ra.RadAttributeID, Name, Data, Value, Type From
RadATConf
igs rc, RadAttributes ra Where ra.RadAttributeID=rc.RadAttributeID AND
rc.Accou
ntType='PPP'

Framed-Protocol = PPP (1)
User-Service = Framed-User (2)
Session-Timeout = 900 (900)
Freeing SQL Statement...
Sending Ack of id 1 to 7f000001 (localhost)
Framed-Protocol = PPP
User-Service = Framed-User
Session-Timeout = 900

Using Radius 1.16.60

radrecv: Request from host 7f000001 code=1, id=1, length=0
NAS-Identifier = 127.0.0.1
NAS-Port = 0
User-Name = "*tkernen*"
Password = "(<"
rad_authenticate_ODBC()
Password = "(<"
Decrypted Password: sagtĮŽu·+=ĶÖ?1Ii
Allocating Statement...

SQL Statement: Select DateAdd(Day, ma.extension, maExpireDate),
DateAdd(Day, sa
..extension, saExpireDate), sa.AccountID, sa.AccountType, sa.Password,
sa.Login,
sa.Shell From MasterAccounts ma, SubAccounts sa Where
(sa.Login='tkernen' or sa.
Shell='tkernen') AND ma.CustomerID=sa.CustomerID and sa.Active<>0 and
ma.Active<
>0

Database Password: "Text in clear"
Freeing SQL Statement...
LOG: User: *tkernen* Not found

User: *tkernen* Not found
Sending Reject of id 1 to 7f000001 (localhost)

Response Time: 120

Thomas Kernen
tkernen@deckpoint.ch