> > "vlan-id" is not a string, it's an integer for CISCO (for
> instance, in my
> > WLAN the SSID "teacher" is mapped to VLAN 10 : 10 is the vlan-id)
>
> that doesn't prove anything. "10" is a perfect string.
>
You're right. I misunderstood the word "string"
> please always post the server debug output (radiusd -s -X) as
> requested
here is the debug :
[EMAIL PROTECTED] root]# radiusd -sfxxyz -l stdout
Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /etc/raddb/proxy.conf
Config: including file: /etc/raddb/clients.conf
Config: including file: /etc/raddb/snmp.conf
Config: including file: /etc/raddb/sql.conf
main: prefix = "/usr/local"
main: localstatedir = "/var"
main: logdir = "/var/log/radius"
main: libdir = "/usr/local/lib"
main: radacctdir = "/var/log/radius/radacct"
main: hostname_lookups = no
main: max_request_time = 30
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 0
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = "/var/log/radius/radius.log"
main: log_auth = no
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/var/run/radiusd/radiusd.pid"
main: user = "(null)"
main: group = "(null)"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/usr/local/sbin/checkrad"
main: proxy_requests = yes
proxy: retry_delay = 5
proxy: retry_count = 3
proxy: synchronous = no
proxy: default_fallback = yes
proxy: dead_time = 120
proxy: post_proxy_authorize = yes
proxy: wake_all_if_all_dead = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = no
main: debug_level = 0
read_config_files: reading dictionary
read_config_files: reading naslist
Using deprecated naslist file. Support for this will go away soon.
read_config_files: reading clients
Using deprecated clients file. Support for this will go away soon.
read_config_files: reading realms
Using deprecated realms file. Support for this will go away soon.
radiusd: entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
mschap: use_mppe = yes
mschap: require_encryption = no
mschap: require_strong = no
mschap: passwd = "(null)"
mschap: authtype = "MS-CHAP"
Module: Instantiated mschap (mschap)
Module: Loaded System
unix: cache = no
unix: passwd = "(null)"
unix: shadow = "(null)"
unix: group = "(null)"
unix: radwtmp = "/var/log/radius/radwtmp"
unix: usegroup = no
unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded eap
eap: default_eap_type = "leap"
eap: timer_expire = 60
rlm_eap: Loaded and initialized the type md5
rlm_eap: Loaded and initialized the type leap
Module: Instantiated eap (eap)
Module: Loaded preprocess
preprocess: huntgroups = "/etc/raddb/huntgroups"
preprocess: hints = "/etc/raddb/hints"
preprocess: with_ascend_hack = no
preprocess: ascend_channels_per_line = 23
preprocess: with_ntdomain_hack = no
preprocess: with_specialix_jetstream_hack = no
preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
realm: format = "suffix"
realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded files
files: usersfile = "/etc/raddb/users"
files: acctusersfile = "/etc/raddb/acct_users"
files: preproxy_usersfile = "/etc/raddb/preproxy_users"
files: compat = "no"
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port-Id"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
detail: detailfile =
"/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
radutmp: filename = "/var/log/radius/radutmp"
radutmp: username = "%{User-Name}"
radutmp: case_sensitive = yes
radutmp: check_with_nas = yes
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
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.XX.XX:1645, id=166,
length=131
User-Name = "jmguillemot"
Framed-MTU = 1400
Called-Station-Id = "0007.XXXX"
Calling-Station-Id = "000d.XXXX.XXXX"
Message-Authenticator = 0xe9c76e12cb5446ac2f6c7591d6b3c766
EAP-Message = 0x02020010016a6d6775696c6c656d6f74
NAS-Port-Type = Virtual
NAS-Port = 334
NAS-IP-Address = 192.168.XX.XX
NAS-Identifier = "AP_1"
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 2 length 16
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "jmguillemot", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched jmguillemot at 107
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type eap
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 2 length 16
rlm_eap: EAP Start not found
rlm_eap: EAP Identity
rlm_eap: processing type leap
rlm_eap_leap: Stage 2
rlm_eap_leap: Issuing AP Challenge
rlm_eap_leap: Successfully initiated
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Challenge of id 166 to 192.168.50.151:1645
Service-Type = Login-User
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "10"
EAP-Message =
0x0103001b1101000828acf2e319a269386a6d6775696c6c656d6f74
Message-Authenticator = 0x00000000000000000000000000000000
State =
0x9f636cc4d36da21e62e3242e2c730e925334963f6b8ac598a97d72d7078d3f73c2719df7
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.XX.XX:1645, id=167,
length=196
User-Name = "jmguillemot"
Framed-MTU = 1400
Called-Station-Id = "0007.XXXX.XXXX"
Calling-Station-Id = "000d.XXXX.XXXX"
Message-Authenticator = 0x3b61e5d5700286e358b42305ebac9ddc
EAP-Message =
0x0203002b11010018b199b0b7670ba03065a5821ca9d31fa4f8e5d2f4f6e518666a6d677569
6c6c656d6f74
NAS-Port-Type = Virtual
NAS-Port = 334
State =
0x9f636cc4d36da21e62e3242e2c730e925334963f6b8ac598a97d72d7078d3f73c2719df7
NAS-IP-Address = 192.168.XX.XX
NAS-Identifier = "AP_1"
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 3 length 43
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "jmguillemot", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched jmguillemot at 107
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type eap
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 3 length 43
rlm_eap: EAP Start not found
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - leap
rlm_eap: processing type leap
rlm_eap_leap: Stage 4
rlm_eap_leap: NtChallengeResponse from AP is valid
rlm_eap: Underlying EAP-Type set EAP ID to 4
rlm_eap: Saving LEAP state
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Challenge of id 167 to 192.168.XX.XX:1645
Service-Type = Login-User
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "10"
EAP-Message = 0x03040004
Message-Authenticator = 0x00000000000000000000000000000000
State =
0x9f636cc4d36da21e62e3242e2c730e925334963f6b8ac598a97d72d7078d3f73c2719df7
Finished request 1
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 192.168.XX.XX:1645, id=168,
length=180
User-Name = "jmguillemot"
Framed-MTU = 1400
Called-Station-Id = "0007.XXXX.XXXX"
Calling-Station-Id = "000d.XXXX.XXXX"
Message-Authenticator = 0x1af683ab24b019610ad77970f61b6850
EAP-Message =
0x0104001b1101000891189bf13677620f6a6d6775696c6c656d6f74
NAS-Port-Type = Virtual
NAS-Port = 334
State =
0x9f636cc4d36da21e62e3242e2c730e925334963f6b8ac598a97d72d7078d3f73c2719df7
NAS-IP-Address = 192.168.XX.XX
NAS-Identifier = "AP_1"
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type identity id 4 length 27
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "jmguillemot", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched jmguillemot at 107
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type eap
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type identity id 4 length 27
rlm_eap: EAP Start not found
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - leap
rlm_eap: processing type leap
rlm_eap_leap: Stage 6
rlm_eap: Freeing handler
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Accept of id 168 to 192.168.XX.XX:1645
Service-Type = Login-User
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "10"
Cisco-AVPair +=
"leap:session-key=\202\004\310jO\3764/;"\371\007\342iW/c\335r\023F\201\t\016
\231N\211\235:PP,\007\231"
EAP-Message =
0x0205002b1101001874945b85b2ffe625ca59d2cb18e9642a75e82e0f6a17c2336a6d677569
6c6c656d6f74
Message-Authenticator = 0x00000000000000000000000000000000
Finished request 2
> by the FAQ. btw.: auth-type shouldn't be explicitly set to eap ...
OK.
Thanks for your help.
Jean-Marie
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html