hi,
I tried installing freeradius0.2 for oracle8i. Now it has instantiated sql module.
But it seemed the freeradius not using oracle at all, it only read file. The msg is:
(I have add the nas in /etc/raddb/client file. otherwise it will show unknow client.
But I am sure I have input some data in oracle's table nas)
[root@freeradius sbin]# ./radiusd -x
Starting - reading configuration files ...
Module: Loaded System
Module: Instantiated unix (unix)
Module: Loaded SQL
rlm_sql: Driver rlm_sql_oracle loaded and linked
rlm_sql: Attempting to connect to summer@localhost:/summer
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
Module: Instantiated files (files)
Module: Loaded detail
Module: Instantiated detail (detail)
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 192.168.0.6:1645, id=179, length=90
NAS-IP-Address = 192.168.0.6
NAS-Port = 1
Cisco-NAS-Port = "Async1"
NAS-Port-Type = Async
User-Name = "user"
Called-Station-Id = ""
Password = "\351$\316\313\315\354Eh\240\024\026\253?\355\014\320"
Service-Type = Framed-User
Framed-Protocol = PPP
Sending Access-Reject of id 179 to 192.168.0.6:1645
But I am sure the user is in table radcheck. Why freeradius didn't look for it in
oracle database and only in files? Should I change /etc/raddb/radiusd.conf? And how?
Any suggestion is welcome.
Best regards!
Sunny Xu
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html