On Sunday 19 May 2002 10:09 am, Alan DeKok wrote: > > auth: No Auth-Type configuration for the request, rejecting the user > > auth: Failed to validate the user. > > This happens when I try to authenticate a user. > > Any thoughts? > Configure an Auth-Type attribute, like it shows in the sample > 'users' file. > Exactly how is the server supposed to authenticate users, if you > don't tell it where/how to authenticate them?
Ok, I've done what you said, here is the full error I'm getting now. rlm_sql: Driver rlm_sql_postgresql loaded and linked rlm_sql: Attempting to connect to freeside@localhost:/radius 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 radutmp radutmp: filename = "/var/log/radutmp" radutmp: username = "%{User-Name}" radutmp: perm = 384 radutmp: callerid = yes Module: Instantiated radutmp (radutmp) main: smux_password = "" main: snmp_write_access = no SMUX connect try 1 Can't connect to SNMP agent with SMUX: Connection refused 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:3993, id=206, length=71 User-Name = "[EMAIL PROTECTED]" User-Password = "\270\237\256C\365*\213\023\351\304\267\016\315^7\302" NAS-IP-Address = 255.255.255.255 NAS-Port-Id = "localhost" rad_lowerpair: User-Name now '[EMAIL PROTECTED]' rad_lowerpair: User-Password now 'tiger' modcall: entering group authorize modcall[authorize]: module "preprocess" returns ok modcall[authorize]: module "suffix" returns ok users: Matched DEFAULT at 152 modcall[authorize]: module "files" returns ok modcall: group authorize returns ok rad_check_password: Found Auth-Type System auth: type "System" auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 Going to the next request This is with the default users file that comes with Freeradius. However I'm trying to authenticate off of an SQL database. Yet it isn't making any SQL calls. Here is the pertinent parts of the radiusd.conf file authorize { preprocess # counter # attr_filter # eap suffix files # mschap } authenticate { # pam # unix # ldap # eap pap mschap } preacct { suffix files preprocess } accounting { # acct_unique detail # counter # unix sql radutmp # sradutmp } session { radutmp } I am more then happy to read any documentation on setting this up, but I cannot find any. -- I only touch base with reality on an as-needed basis! -- Royal Floyd Mengot - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html