Re: Logging to database?

Zak Wolfinger ( (no email) )
Thu, 23 Apr 1998 13:50:40 -0500

The RadLogs table contains errors or denials. Are you
something else in it? Your example was just accounting. You
use radlogin to create a failed auth attempt and see if

OK, I was confused. I was thinking that it would be like
the detail file, not like the log file. My mistake.
However I tried doing a login with an incorrect password (by
dialing into the NAS, not using RadLogin) and it doesn't
show up in EITHER the logfile nor the RadLog table. Here is
the output:

radrecv: Request from host d0d10541 code=1, id=62,
User-Name = "wolfman"
Password =
NAS-Identifier =
NAS-Port = 10
NAS-Port-Type = Async
Connect-Info = "14400 LAPM/V42BIS"
NAS-Port-DNIS = "6754200"
Caller-Id = "2192351599"
Password =

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

Decrypted Password: fred
Database Password: ilpww
Not Found in ODBC, Checking users file...
Checking user record PW_PASSWORD type
chkPwd->strvalue is **REMOVED**
decrypted pwd is fred
Sending Reject of id 62 to d0d10541 (OCPM3-1)

Resp Time: 2083 Auth: 0/6 -> 6 Acct: 7/0/0 -> 7