Hello GwangHee -
The standard behaviour for Radiator is to look for the exact username, then
DEFAULT, DEFAULT1, DEFAULT2, etc. You can change this by adding NoDefault (or
NoDefaultIfFound) to your AuthBy clause.
<AuthBy SQL>
......
NoDefault
.....
</AuthBy>
Have a look at section 6.16.11 and 6.16.12 in the Radiator 2.19 reference
manual ("doc/ref.html").
regards
Hugh
On Sat, 15 Dec 2001 08:11, GwangHee Yi wrote:
> Dear Hugh,
>
> I try to authenticate call number 17607614701,
> If user is not in DB, radiator try to authenticate username='DEFAULT'
> Why?
>
> Below is configuration and debug....
>
> Thanks,
>
> Configureration......
> ++++++++++++++++++++++++++++++++++++++++++
> <Realm DEFAULT>
> <AuthBy SQL>
> # Adjust DBSource, DBUsername, DBAuth to suit your DB
> DBSource dbi:mysql:radius
> DBUsername *****
> DBAuth *******
>
> # Auth Statements
>
> AuthSelect SELECT password,replyattr FROM subscribers WHERE
> username = '%n'
> AuthColumnDef 0, User-Password, check
> AuthColumnDef 1, GENERIC, reply
> </AuthBy SQL>
> </Realm>
>
> Debug...
> ++++++++++++++++++++++++++++++++++++++++++
> Bla Bla...........
>
> Fri Dec 14 14:01:06 2001: DEBUG: Handling request with Handler
> 'Realm=DEFAULT'
> Fri Dec 14 14:01:06 2001: DEBUG: Deleting session for 17607614701, *.*.*.*,
> Fri Dec 14 14:01:06 2001: DEBUG: Handling with Radius::AuthSQL
> Fri Dec 14 14:01:06 2001: DEBUG: Handling with Radius::AuthSQL
> Fri Dec 14 14:01:06 2001: DEBUG: Query is: SELECT password,replyattr FROM
> subscribers WHERE username = '17607614701'
> Fri Dec 14 14:01:06 2001: DEBUG: Radius::AuthSQL looks for match with
> 17607614701
> Fri Dec 14 14:01:06 2001: DEBUG: Query is: SELECT password,replyattr FROM
> subscribers WHERE username = 'DEFAULT'
>
>
>
> ===
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
--
Radiator: the most portable, flexible and configurable RADIUS server
anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X.
-
Nets: internetwork inventory and management - graphical, extensible,
flexible with hardware, software, platform and database independence.
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.