Hi, I have an oracle authentication problem, I am using linux and oracle
8.17.
I add an user and password into the radcheck table, change the radiusd.conf
to use sql to do authentication, change sql.conf to use oracle.
Then I run:
[root@oracle1 henrysu]# radtest test1 testpass 127.0.0.1 10 testing123
and I always get Access-Reject problem. Anyone knows why?
[14:53:16][root@oracle1:~]$ radiusd -x
Starting - reading configuration files ...
XXXXXXXXXXXXX -1 0 1
XXXXXXXXXXXXX 0 0 1
Module: Loaded SQL
rlm_sql: Driver rlm_sql_oracle loaded and linked
rlm_sql: Attempting to connect to radius@localhost:/ora1
rlm_sql: Connected new DB handle, #0
rlm_sql: Connected new DB handle, #1
rlm_sql: Connected new DB handle, #2
rlm_sql: Connected new DB handle, #3
rlm_sql: Connected new DB handle, #4
Module: Instantiated sql (sql)
Module: Loaded preprocess
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
Module: Instantiated realm (suffix)
Module: Loaded files
[/usr/local/etc/raddb/users]:54 WARNING! Changing 'Password =' to 'Password
==' ?for comparing RADIUS attribute in check item list for user test-user
Module: Instantiated files (files)
Module: Loaded detail
Module: Instantiated detail (detail)
Module: Loaded System
Module: Instantiated unix (unix)
Module: Loaded radutmp
Module: Instantiated radutmp (radutmp)
Initializing the thread pool...
Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on
1814/udp.
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1:1025, id=19, length=55
User-Name = "test1"
Password = "\251\360M\323\373\333\212y8\253\002\362\345\200K~"
NAS-IP-Address = 255.255.255.255
NAS-Port-Id = "10"
Sending Access-Reject of id 19 to 127.0.0.1:1025
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html