On 7/31/06, Alan DeKok <aland@deployingradius.com> wrote:
You deleted "files" from "authorize", and are still trying to use the "users" file.
Please don't break the server configuration. The default configuration is there for a purpose: it works. It's frustrating to see the number of people who go out of their way to break the server, and then wonder why it doesn't work.
Touché. Thank you, Alan. Now, I have decommented "files", it reads "users" but give the same error. I'll paste the log and the "authorize" configuration of radius.conf: LOG: ..... Ready to process requests. rad_recv: Access-Request packet from host 192.168.1.96:2061, id=1, length=69 Ignoring request from unknown client 192.168.1.96:2061 --- Walking the entire request list --- Nothing to do. Sleeping until we see a request. rad_recv: Access-Request packet from host 127.0.0.1:1053, id=0, length=216 User-Name = "arccas" CHAP-Challenge = 0x5fa368f34c077e5795c013ae506dc046 CHAP-Password = 0x00a2462385fdf08f161ee314ad6cb3b18d NAS-IP-Address = 0.0.0.0 Service-Type = Login-User Framed-IP-Address = 192.168.182.2 Calling-Station-Id = "00-02-D7-BF-A0-98" Called-Station-Id = "00-50-BF-E3-E8-2A" NAS-Identifier = "nas01" Acct-Session-Id = "44ce4b7700000000" NAS-Port-Type = Wireless-802.11 NAS-Port = 0 Message-Authenticator = 0x8b794514b94fc2f9ebad526175214ab9 WISPr-Logoff-URL = "http://192.168.182.1:3990/logoff" Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module "preprocess" returns ok for request 0 rlm_chap: Setting 'Auth-Type := CHAP' modcall[authorize]: module "chap" returns ok for request 0 users: Matched entry DEFAULT at line 152 modcall[authorize]: module "files" returns ok for request 0 rlm_ldap: - authorize rlm_ldap: performing user authorization for arccas radius_xlat: '(uid=arccas)' radius_xlat: 'ou=statistica,dc=xxx,dc=it' rlm_ldap: ldap_get_conn: Checking Id: 0 rlm_ldap: ldap_get_conn: Got Id: 0 rlm_ldap: attempting LDAP reconnection rlm_ldap: (re)connect to localhost:389, authentication 0 rlm_ldap: bind as cn=Manager,dc=xxx,dc=it/PASSWORD to localhost:389 rlm_ldap: waiting for bind result ... rlm_ldap: Bind was successful rlm_ldap: performing search in ou=statistica,dc=xxx,dc=it, with filter (uid=arccas) rlm_ldap: checking if remote access for arccas is allowed by userPassword rlm_ldap: Added password a in check items rlm_ldap: looking for check items in directory... rlm_ldap: Adding radiusGroupName as Ldap-Group, value student & op=21 rlm_ldap: Adding radiusCallingStationId as Calling-Station-Id, value 00-02-D7-BF-A0-98 & op=21 rlm_ldap: Adding userPassword as User-Password, value a & op=21 rlm_ldap: looking for reply items in directory... rlm_ldap: user arccas authorized to use remote access rlm_ldap: ldap_release_conn: Release Id: 0 modcall[authorize]: module "ldap" returns ok for request 0 rlm_checkval: Item Name: Calling-Station-Id, Value: 00-02-D7-BF-A0-98 rlm_checkval: Value Name: Calling-Station-Id, Value: 00-02-D7-BF-A0-98 modcall[authorize]: module "checkval" returns ok for request 0 modcall: leaving group authorize (returns ok) for request 0 rad_check_password: Found Auth-Type LDAP auth: type Local auth: user supplied CHAP-Password matches local User-Password Processing the post-auth section of radiusd.conf modcall: entering group post-auth for request 0 rlm_ippool: Could not find Pool-Name attribute. modcall[post-auth]: module "studenti" returns noop for request 0 modcall: leaving group post-auth (returns noop) for request 0 Sending Access-Accept of id 0 to 127.0.0.1 port 1053 Finished request 0 Going to the next request --- Walking the entire request list --- Waking up in 6 seconds... rad_recv: Accounting-Request packet from host 127.0.0.1:1051, id=0, length=131 Acct-Status-Type = Start User-Name = "arccas" Calling-Station-Id = "00-02-D7-BF-A0-98" Called-Station-Id = "00-50-BF-E3-E8-2A" NAS-Port-Type = Wireless-802.11 NAS-Port = 0 NAS-Port-Id = "00000000" NAS-IP-Address = 0.0.0.0 NAS-Identifier = "nas01" Framed-IP-Address = 192.168.182.2 Acct-Session-Id = "44ce4b7700000000" Processing the preacct section of radiusd.conf modcall: entering group preacct for request 1 modcall[preacct]: module "preprocess" returns noop for request 1 rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address = 127.0.0.1,NAS-IP-Address = 0.0.0.0,Acct-Session-Id = "44ce4b7700000000",User-Name = "arccas"' rlm_acct_unique: Acct-Unique-Session-ID = "68b1949fcaee533d". modcall[preacct]: module "acct_unique" returns ok for request 1 rlm_realm: No '@' in User-Name = "arccas", looking up realm NULL rlm_realm: No such realm "NULL" modcall[preacct]: module "suffix" returns noop for request 1 modcall[preacct]: module "files" returns noop for request 1 modcall: leaving group preacct (returns ok) for request 1 Processing the accounting section of radiusd.conf modcall: entering group accounting for request 1 rlm_ippool: This is not an Accounting-Stop. Return NOOP. modcall[accounting]: module "studenti" returns noop for request 1 radius_xlat: '/usr/local/var/log/radius/radacct/127.0.0.1/detail-20060731' rlm_detail: /usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /usr/local/var/log/radius/radacct/127.0.0.1/detail-20060731 modcall[accounting]: module "detail" returns ok for request 1 modcall[accounting]: module "unix" returns ok for request 1 radius_xlat: '/usr/local/var/log/radius/radutmp' radius_xlat: 'arccas' modcall[accounting]: module "radutmp" returns ok for request 1 modcall: leaving group accounting (returns ok) for request 1 Sending Accounting-Response of id 0 to 127.0.0.1 port 1051 Finished request 1 Going to the next request Cleaning up request 1 ID 0 with timestamp 44ce4b99 Waking up in 6 seconds... --- Walking the entire request list --- Cleaning up request 0 ID 0 with timestamp 44ce4b99 Nothing to do. Sleeping until we see a request. ------------ radius,conf authorize { preprocess chap files ldap checkval } ------------------------- Thanks in advance. Giusy