"users" file is changed to: test Auth-Type = Local, User-Password := "testing" However, still has problem. Debug output is: rad_recv: Access-Request packet from host 127.0.0.1:52001, id=42, length=149 Framed-MTU = 1380 NAS-IP-Address = 0.0.0.0 NAS-Identifier = "wifictrl" User-Name = "test" NAS-Port-Id = ":2:2" Service-Type = Framed-User NAS-Port-Type = Wireless-802.11 Called-Station-Id = "00-f0-00-06-67-c0" Calling-Station-Id = "00-20-a6-57-7a-d1" State = 0x41653c6968055aecfa354aa7a6ed95a0 EAP-Message = 0x020200060319 Message-Authenticator = 0x6b63991cc7c8d008d37a418927f261a4 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 2 modcall[authorize]: module "preprocess" returns ok for request 2 modcall[authorize]: module "chap" returns noop for request 2 modcall[authorize]: module "mschap" returns noop for request 2 rlm_realm: No '@' in User-Name = "test", looking up realm NULL rlm_realm: No such realm "NULL" modcall[authorize]: module "suffix" returns noop for request 2 rlm_eap: EAP packet type response id 2 length 6 rlm_eap: No EAP Start, assuming it's an on-going EAP conversation modcall[authorize]: module "eap" returns updated for request 2 users: Matched test at 90 radius_xlat: 'Hello, test' modcall[authorize]: module "files" returns ok for request 2 modcall: group authorize returns updated for request 2 rad_check_password: Found Auth-Type EAP auth: type "EAP" Processing the authenticate section of radiusd.conf modcall: entering group authenticate for request 2 rlm_eap: Request found, released from the list rlm_eap: EAP NAK rlm_eap: EAP-NAK asked for EAP-Type/peap rlm_eap: No such EAP type peap rlm_eap: Failed in EAP select modcall[authenticate]: module "eap" returns invalid for request 2 modcall: group authenticate returns invalid for request 2 auth: Failed to validate the user. Delaying request 2 for 1 seconds Finished request 2 Going to the next request Waking up in 6 seconds... --- Walking the entire request list --- Cleaning up request 1 ID 41 with timestamp 43d55f0d Sending Access-Reject of id 42 to 127.0.0.1:52001 EAP-Message = 0x04020004 Message-Authenticator = 0x00000000000000000000000000000000 Reply-Message = "Hello, test" Cleaning up request 2 ID 42 with timestamp 43d55f0d Nothing to do. Sleeping until we see a request. --- Alan DeKok <aland@ox.org> wrote:
PoWah Wong <wong_powah@yahoo.ca> wrote:
I configure /etc/raddb/users as follows: test Auth-Type := Local, User-Password == "testing"
That should be
test Auth-Type = Local, User-Password := "testing"
See the "man" page for the "users" file, and other posts to this list.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
__________________________________________________________ Find your next car at http://autos.yahoo.ca