Freeradius set up help
Horchem Gary
ghorchem at gary-springfield-mo.net
Mon Nov 9 04:21:25 CET 2009
Hello i'm trying to setup Freeradius to do wireless authcation when I try to connect I get my peap certficte then it says "incorrect username or password" below is the debug output
"server-2:~ # radiusd -X
FreeRADIUS Version 2.1.6, for host i686-suse-linux-gnu, built on Aug 23 2009 at 13:12:28
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/modules/
including configuration file /etc/raddb/modules/pam
including configuration file /etc/raddb/modules/pap
including configuration file /etc/raddb/modules/otp
including configuration file /etc/raddb/modules/chap
including configuration file /etc/raddb/modules/echo
including configuration file /etc/raddb/modules/exec
including configuration file /etc/raddb/modules/expr
including configuration file /etc/raddb/modules/ldap
including configuration file /etc/raddb/modules/krb5
including configuration file /etc/raddb/modules/perl
including configuration file /etc/raddb/modules/unix
including configuration file /etc/raddb/modules/inner-eap
including configuration file /etc/raddb/modules/radutmp
including configuration file /etc/raddb/modules/counter
including configuration file /etc/raddb/modules/acct_unique
including configuration file /etc/raddb/modules/files
including configuration file /etc/raddb/modules/realm
including configuration file /etc/raddb/modules/wimax
including configuration file /etc/raddb/modules/mac2vlan
including configuration file /etc/raddb/modules/linelog
including configuration file /etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /etc/raddb/modules/detail.example.com
including configuration file /etc/raddb/modules/checkval
including configuration file /etc/raddb/modules/logintime
including configuration file /etc/raddb/modules/sql_log
including configuration file /etc/raddb/modules/sradutmp
including configuration file /etc/raddb/modules/always
including configuration file /etc/raddb/modules/attr_rewrite
including configuration file /etc/raddb/modules/detail
including configuration file /etc/raddb/modules/digest
including configuration file /etc/raddb/modules/ippool
including configuration file /etc/raddb/modules/mac2ip
including configuration file /etc/raddb/modules/mschap
including configuration file /etc/raddb/modules/smbpasswd
including configuration file /etc/raddb/modules/passwd
including configuration file /etc/raddb/modules/policy
including configuration file /etc/raddb/modules/smsotp
including configuration file /etc/raddb/modules/etc_group
including configuration file /etc/raddb/modules/preprocess
including configuration file /etc/raddb/modules/attr_filter
including configuration file /etc/raddb/modules/detail.log
including configuration file /etc/raddb/modules/expiration
including configuration file /etc/raddb/eap.conf
including configuration file /etc/raddb/policy.conf
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/inner-tunnel
including configuration file /etc/raddb/sites-enabled/control-socket
group = radiusd
user = radiusd
including dictionary file /etc/raddb/dictionary
main {
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
allow_core_dumps = no
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = no
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
nastype = "other"
}
client 192.168.2.10 {
require_message_authenticator = no
secret = "GOLDFLOOR59"
shortname = "server-3"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating expr
Module: Linked to module rlm_expiration
Module: Instantiating expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating chap
Module: Linked to module rlm_mschap
Module: Instantiating mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_unix
Module: Instantiating unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Module: Linked to module rlm_ldap
Module: Instantiating ldap
ldap {
server = "192.168.2.2"
port = 389
password = ""
identity = ""
net_timeout = 1
timeout = 4
timelimit = 3
tls_mode = no
start_tls = no
tls_require_cert = "allow"
tls {
start_tls = no
require_cert = "allow"
}
basedn = "o=missouri"
filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
base_filter = "(objectclass=radiusprofile)"
auto_header = no
access_attr_used_for_allow = yes
groupname_attribute = "cn"
groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
dictionary_mapping = "/etc/raddb/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
edir_account_policy_check = yes
set_auth_type = yes
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id
conns: 0x8012bde8
Module: Linked to module rlm_eap
Module: Instantiating eap
eap {
default_eap_type = "peap"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 2048
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
pem_file_type = yes
private_key_file = "/etc/raddb/certs/server.pem"
certificate_file = "/etc/raddb/certs/server.pem"
CA_file = "/etc/raddb/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/etc/raddb/certs/dh"
random_file = "/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/raddb/certs/bootstrap"
cache {
enable = no
lifetime = 24
max_entries = 255
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_files
Module: Instantiating files
files {
usersfile = "/etc/raddb/users"
acctusersfile = "/etc/raddb/acct_users"
preproxy_usersfile = "/etc/raddb/preproxy_users"
compat = "no"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
server {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating preprocess
preprocess {
huntgroups = "/etc/raddb/huntgroups"
hints = "/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = yes
with_specialix_jetstream_hack = yes
with_cisco_vsa_hack = yes
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_detail
Module: Instantiating auth_log
detail auth_log {
detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Instantiating detail
detail {
detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_attr_filter
Module: Instantiating attr_filter.accounting_response
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
}
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
listen {
type = "control"
listen {
socket = "/var/run/radiusd/radiusd.sock"
}
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026800061900
State = 0x429a5d9e43f244a30737a576f1e037cd
Message-Authenticator = 0x2fddee544720bc9603a27abda34ea567
Proxy-State = 0x17000000000000000000000000000000000000a9
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 104 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 62 to 192.168.2.10 port 54677
EAP-Message = 0x016903fc1940008220f3197ef3229f300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3039313130393031333234375a170d3130313130393031333234375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504
EAP-Message = 0x071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100bc5dea9d9dfe50287980e118711818af75c060347cdef56dba6f36781a047f714522523cb502d4028bc984cedd7e90bccf939ccd505f8658677908959ca4f79e0724193fd4bfa1d4791394ed274f59687ab5804f6eee3542670c316885e74b5e57a5590d4040548b6299390504e2e5
EAP-Message = 0xef35b6535792d947d7248c31d833598b9a8f048ce4ed761f25cebacb608f4b45e874469cadfbdf9ed806d4757b3db4a30ebc7d12caf02bddf244a295165f0157a4d4b74fc2f6f4e86d751502a887dbfeaff122d93b4fe86fbc1e9649e5213e925dceb819d2d3b4fed669c5ca1339ea8bc5b54a08135ca99fdc18dfa502325d9a5bb607d710c06bd5a27db61b72f632412b0203010001a381fb3081f8301d0603551d0e04160414d36f2b7b4231f3f461cf8884051c1bde5be686e83081c80603551d230481c03081bd8014d36f2b7b4231f3f461cf8884051c1bde5be686e8a18199a48196308193310b3009060355040613024652310f300d06035504
EAP-Message = 0x0813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f726974798209008220f3197ef3229f300c0603551d13040530030101ff300d06092a864886f70d010105050003820101002a2b2e1c7528af648f4be82f8dcfd57aecb057b7078496d67d0e53cdc50682c79c36cce370c60402689cff2bc1bceb819d3de80a45349ee0440ed1b615d357e5bd9d0b25339c1b709577edcefac87d6f93d1
EAP-Message = 0x933266c9fa5276b0
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e40f344a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000a9
Finished request 2.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=63, length=197
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026900061900
State = 0x429a5d9e40f344a30737a576f1e037cd
Message-Authenticator = 0xd74a66cf93533df7e1774afbdeeb1109
Proxy-State = 0x17000000000000000000000000000000000000aa
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 105 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 63 to 192.168.2.10 port 54677
EAP-Message = 0x016a00b51900938cc483d19aef1a6e2c0c55d9932855ec702d2f94c42d19bef2a3bb8388d1284ca9fac7591f05cb6b486584d8e79b34dcef4e348c8e491d314de8102c34388d92fabe1ee7351492a3645a9518d14f29eb05b02f7acb2284ce94b892fdd40e1b9c0ed8961d0a59705523fb531b172fc2861cb5c81e83e88bbd61332fb3fcc387ce06efce7721b19588e1e986126c4c57d09453724cd201737ef92c3c651c377f2b6a7340678e16030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e41f044a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000aa
Finished request 3.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=64, length=529
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026a01501980000001461603010106100001020100ca05ac504ca1fda191207a9b362a8182d0bd2979ab5c16e170fd1adb8909020aa0bdac225c884927a3e39aa9a3b021a5957f8cc7fc2d61689f683e8c82d49c3b507b523a9838da3318e7519e29d0d87b3f0fbd845f4b665f406a8df48ba2bbfbc5a9ff75579a3786542e04591d2112d47f92defe206dabad81fab2467922cb3700c677a0b8157f8648cef18d0170fa23ed560e11e613f4f06577e8d8073253ef104520da2c9237270a4635b225f7e1f192f7bec606afd0b26e99d454f65538f252eff27a7716458bfa8d33adb1847385136b476b281661b599a064fa785825ff00769d8289e2dee2
EAP-Message = 0xf2cc4847166169431af6005ea442b12492e3e7340ac2a4f614030100010116030100301467ad16451cc0983619cf2e02cdb7e06c9d7db6d61bb16394bc849c6532a8559c93ae097cc47c847a633eda548c61d9
State = 0x429a5d9e41f044a30737a576f1e037cd
Message-Authenticator = 0x63f735c4ecf5083a3b5aa49510895858
Proxy-State = 0x17000000000000000000000000000000000000ab
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 106 length 253
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 326
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange
[peap] TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap] TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 write finished A
[peap] TLS_accept: SSLv3 flush data
[peap] (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 64 to 192.168.2.10 port 54677
EAP-Message = 0x016b004119001403010001011603010030c87ba1fe539bc22de7d189d36a6dcc3875b66643554a7db83059180d58e38263df5d9fb2fd407c540fc170d48edcab4f
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e46f144a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ab
Finished request 4.
Going to the next request
Waking up in 4.5 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=65, length=197
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026b00061900
State = 0x429a5d9e46f144a30737a576f1e037cd
Message-Authenticator = 0x5bca81fc04871777f906a4ff206a4f85
Proxy-State = 0x17000000000000000000000000000000000000ac
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 107 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
++[eap] returns handled
Sending Access-Challenge of id 65 to 192.168.2.10 port 54677
EAP-Message = 0x016c002b19001703010020a68c9fd7f9fdaaa97717a3b43011b65816f502d53089ec383c2578cd41aa82ad
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e47f644a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ac
Finished request 5.
Going to the next request
Waking up in 4.4 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=66, length=234
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026c002b190017030100208663696cf36a73709ba8852c57adcaf63f8056ae5246b106cb655207aea2cc78
State = 0x429a5d9e47f644a30737a576f1e037cd
Message-Authenticator = 0x3e3c41d583f535bc8a21f2c306355dfb
Proxy-State = 0x17000000000000000000000000000000000000ad
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 108 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Identity - ghorchem
[peap] Got tunneled request
EAP-Message = 0x026c000d0167686f726368656d
server {
PEAP: Got tunneled identity of ghorchem
PEAP: Setting default EAP type for tunneled EAP session.
PEAP: Setting User-Name to ghorchem
Sending tunneled request
EAP-Message = 0x026c000d0167686f726368656d
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "ghorchem"
server inner-tunnel {
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
++[unix] returns notfound
++[control] returns notfound
[eap] EAP packet type response id 108 length 13
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
EAP-Message = 0x016d00221a016d001d107b27d927d6f50d1a455b37505f7414ec67686f726368656d
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x43799be8431481df5add6c139b49de38
[peap] Got tunneled reply RADIUS code 11
EAP-Message = 0x016d00221a016d001d107b27d927d6f50d1a455b37505f7414ec67686f726368656d
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x43799be8431481df5add6c139b49de38
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 66 to 192.168.2.10 port 54677
EAP-Message = 0x016d004b190017030100402d36c7aabf9a73c44093b38938db7af6eb82e9699c9231e1dc831dae5d3bc90cf9deebd8a7847d72df98d495dc97a99cd7b235234c6ba2096b42a707ce5ed006
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e44f744a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ad
Finished request 6.
Going to the next request
Waking up in 4.4 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=67, length=298
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026d006b19001703010060db73084d86d12f59ff9c2278eeaa0786cecd28c5040f6c099e55007b2307e6823e3669026d82b0d79b7abacacf9712fa9535f65cf3d1e926788c43f819fd7e1911903ee7aa5efbe1307b3e50ab58e8db22dda8740132a9dd2e0468f3909371a2
State = 0x429a5d9e44f744a30737a576f1e037cd
Message-Authenticator = 0xa5f744f39c7a6ff9e416607b8f75c55c
Proxy-State = 0x17000000000000000000000000000000000000ae
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 109 length 107
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message = 0x026d00431a026d003e318edc00abca487b9d1c1fc5f5ef39587100000000000000009d933d64f973468e5934a624886146917317a8747e8a5cc00067686f726368656d
server {
PEAP: Setting User-Name to ghorchem
Sending tunneled request
EAP-Message = 0x026d00431a026d003e318edc00abca487b9d1c1fc5f5ef39587100000000000000009d933d64f973468e5934a624886146917317a8747e8a5cc00067686f726368656d
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "ghorchem"
State = 0x43799be8431481df5add6c139b49de38
server inner-tunnel {
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
++[unix] returns notfound
++[control] returns notfound
[eap] EAP packet type response id 109 length 67
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] +- entering group MS-CHAP {...}
[mschap] No Cleartext-Password configured. Cannot create LM-Password.
[mschap] No Cleartext-Password configured. Cannot create NT-Password.
[mschap] Told to do MS-CHAPv2 for ghorchem with NT-Password
[mschap] FAILED: No NT/LM-Password. Cannot perform authentication.
[mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject
[eap] Freeing handler
++[eap] returns reject
Failed to authenticate the user.
} # server inner-tunnel
[peap] Got tunneled reply code 3
MS-CHAP-Error = "mE=691 R=1"
EAP-Message = 0x046d0004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Got tunneled reply RADIUS code 3
MS-CHAP-Error = "mE=691 R=1"
EAP-Message = 0x046d0004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Tunneled authentication was rejected.
[peap] FAILURE
++[eap] returns handled
Sending Access-Challenge of id 67 to 192.168.2.10 port 54677
EAP-Message = 0x016e002b190017030100207b10b09a431fb9e35fea47693577445e773cea31dd39c750238116d6b7aafdf1
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e45f444a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ae
Finished request 7.
Going to the next request
Waking up in 4.3 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=68, length=234
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026e002b19001703010020e70bff42576e2c44e2dba27664c8320c94ce36af9043ec70df22b1e174af5610
State = 0x429a5d9e45f444a30737a576f1e037cd
Message-Authenticator = 0x947614732345e5edabe5e6a4725127cb
Proxy-State = 0x17000000000000000000000000000000000000af
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 110 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Received EAP-TLV response.
[peap] Had sent TLV failure. User was rejected earlier in this session.
[eap] Handler failed in EAP/peap
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
++[ldap] returns noop
Delaying reject of request 8 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 8
Sending Access-Reject of id 68 to 192.168.2.10 port 54677
EAP-Message = 0x046e0004
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x17000000000000000000000000000000000000af
Waking up in 3.3 seconds.
Cleaning up request 0 ID 60 with timestamp +85
Waking up in 0.1 seconds.
Cleaning up request 1 ID 61 with timestamp +86
Cleaning up request 2 ID 62 with timestamp +86
Cleaning up request 3 ID 63 with timestamp +86
Waking up in 0.2 seconds.
Cleaning up request 4 ID 64 with timestamp +86
Cleaning up request 5 ID 65 with timestamp +86
Cleaning up request 6 ID 66 with timestamp +86
Cleaning up request 7 ID 67 with timestamp +86
Waking up in 1.0 seconds.
Cleaning up request 8 ID 68 with timestamp +86
Ready to process requests."
Using Novell Edirectory 8.8.5 as the LDAP back end please help thanks
More information about the Freeradius-Users
mailing list