Hi all,
I just tried the mighty radiator. But it gave me first
obstacle when I tried it for the first time.
I am using Radiator v. 2.16.3 on FreeBSD 4.1.1 with
MySQL.
Installation process was just fine.
Here is my first-ever config file :
#============Start config================
Foreground
LogStdout
Trace 4
AuthPort 1812
LogDir .
DbDir .
DictionaryFile dictionary
<Client DEFAULT>
Secret xxxx
DupInterval 0
</Client>
<Realm DEFAULT>
<AuthBy SQL>
DBSource dbi:mysql:radtest1
DBUsername radiator
DBAuth xxxxxx
EncryptedPassword
# I WROTE THIS LINE JUST TO EMPHASIZE IT, SAME RESULT
# IF I ERASE IT
AuthSelect select PASSWORD from \
SUBSCRIBERS where USERNAME='%n'
# THIS LINE BELOW IS WHERE THE TROUBLE CAME FROM.
# IF I REMOVE THIS LINE, AUTHENTICATION GOES WELL
# BUT IF IT IS THERE, THE AUTHENTICATION IS REJECTED
AuthColumnDef 0, User-Password, check
# AFTER THIS LINE I WOULD LIKE TO ADD MORE
# AuthColumnDef STUFFS, BUT IF IT DOESN'T LIKE
# THE FIRST LINE HOW CAN IT CONTINUE?
</AuthBy>
</Realm>
#=====================End Config=====================
Here are the DEBUG line shows when I run this
radpwtst:
bash-2.04$ radpwtst -secret xxxx -auth_port 1812 -user
jose -password <not showed> -noacct
======
*** Received from 127.0.0.1 port 1051 ....
Code: Access-Request
Identifier: 92
Authentic: 1234567890123456
Attributes:
User-Name = "jose"
Service-Type = Framed-User
NAS-IP-Address = 203.63.154.1
NAS-Port = 1234
NAS-Port-Type = Async
User-Password =
"<209>2<224><228><194><141><230><28><162>Y)<10><144><16>bm"
Thu Nov 16 22:41:02 2000: DEBUG: Handling request with
Handler 'Realm=DEFAULT'
Thu Nov 16 22:41:02 2000: DEBUG: Deleting session for
jose, 203.63.154.1, 1234
Thu Nov 16 22:41:02 2000: DEBUG: Handling with
Radius::AuthSQL
Thu Nov 16 22:41:02 2000: DEBUG: Handling with
Radius::AuthSQL
Thu Nov 16 22:41:02 2000: DEBUG: Query is: select
PASSWORD from SUBSCRIBERS where USERNAME='jose'
Thu Nov 16 22:41:02 2000: DEBUG: Radius::AuthSQL looks
for match with jose
Thu Nov 16 22:41:02 2000: DEBUG: Radius::AuthSQL
REJECT: Bad Password
Thu Nov 16 22:41:02 2000: DEBUG: Query is: select
PASSWORD from SUBSCRIBERS where USERNAME='DEFAULT'
Thu Nov 16 22:41:02 2000: INFO: Access rejected for
jose: Bad Password
Thu Nov 16 22:41:02 2000: DEBUG: Packet dump:
*** Sending to 127.0.0.1 port 1051 ....
Code: Access-Reject
Identifier: 92
Authentic: 1234567890123456
Attributes:
Reply-Message = "Request Denied"
===========================
Any idea? any misconfig somewhere?
Note that: when I remove the line "AuthColumnDef 0,
User-Password, check" the authentication is OK.
thanks in advance,
Jose
__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.