I have setup freeradius to use postgresql but when I try to run a test using:<br>
<br>
radtest test test localhost:1645 10 secret localhost<br clear="all"><br>
while having freeradius running in debug mode I get this in my debug log.<br>
<br>
[root@scooby raddb]# /usr/sbin/radiusd -X<br>
Starting - reading configuration files ...<br>
reread_config: reading radiusd.conf<br>
Config: including file: /etc/raddb/clients.conf<br>
Config: including file: /etc/raddb/postgresql.conf<br>
main: prefix = "/usr"<br>
main: localstatedir = "/var"<br>
main: logdir = "/var/log/radius"<br>
main: libdir = "/usr/lib"<br>
main: radacctdir = "/var/log/radius/radacct"<br>
main: hostname_lookups = no<br>
main: max_request_time = 30<br>
main: cleanup_delay = 5<br>
main: max_requests = 1024<br>
main: delete_blocked_requests = 0<br>
main: port = 1645<br>
main: allow_core_dumps = no<br>
main: log_stripped_names = yes<br>
main: log_file = "/var/log/radius/radius.log"<br>
main: log_auth = yes<br>
main: log_auth_badpass = yes<br>
main: log_auth_goodpass = yes<br>
main: pidfile = "/var/run/radiusd/radiusd.pid"<br>
main: user = "radiusd"<br>
main: group = "radiusd"<br>
main: usercollide = no<br>
main: lower_user = "yes"<br>
main: lower_pass = "no"<br>
main: nospace_user = "yes"<br>
main: nospace_pass = "no"<br>
main: checkrad = "/usr/sbin/checkrad"<br>
main: proxy_requests = no<br>
security: max_attributes = 200<br>
security: reject_delay = 1<br>
security: status_server = no<br>
main: debug_level = 0<br>
read_config_files: reading dictionary<br>
read_config_files: reading naslist<br>
Using deprecated naslist file. Support for this will go away soon.<br>
read_config_files: reading clients<br>
read_config_files: reading realms<br>
radiusd: entering modules setup<br>
Module: Library search path is /usr/lib<br>
Listening on authentication *:1645<br>
Listening on accounting *:1646<br>
Ready to process requests.<br>
rad_recv: Access-Request packet from host <a href="http://127.0.0.1:32770">127.0.0.1:32770</a>, id=34, length=66<br>
User-Name = "test"<br>
User-Password = "test"<br>
NAS-IP-Address = <a href="http://255.255.255.255">255.255.255.255</a><br>
NAS-Port = 10<br>
Framed-Protocol = PPP<br>
auth: No authenticate method (Auth-Type) configuration found for the request: Rejecting the user<br>
auth: Failed to validate the user.<br>
Login incorrect: [test/test] (from client localhost port 10)<br>
Delaying request 0 for 1 seconds<br>
Finished request 0<br>
Going to the next request<br>
--- Walking the entire request list ---<br>
Waking up in 1 seconds...<br>
--- Walking the entire request list ---<br>
Waking up in 1 seconds...<br>
--- Walking the entire request list ---<br>
Sending Access-Reject of id 34 to <a href="http://127.0.0.1:32770">127.0.0.1:32770</a><br>
Waking up in 4 seconds...<br>
--- Walking the entire request list ---<br>
Cleaning up request 0 ID 34 with timestamp 43bea8b5<br>
Nothing to do. Sleeping until we see a request.<br>
<br>
Do I need to specify an Auth-Type in my postgresql database and if so where?<br>
<br>
Thanks<br>-- <br>Jonathan Carpenter<br>