Freeradius-Users
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
March 2012
- 122 participants
- 163 discussions
Hello Fellow Freeradius-Users,
I have freeradius-1.1.3 installed on Cent OS and I have Cisco C2960 switch
as my NAS.
I have a task to allocate browsing time 2hrs per day to students in our
computer labs.
Logs from radius in debug mode, counter doesn't increase it always shows
(Check item - counter) is greater than zero; check_item=120, counter=0.
Users are not signed out after Max-Daily-Session is reached.
I want to be able to disconnect a user logged in after they reach their
maximum daily session.
Kindly find below config files which indicate maximum daily session of 120
seconds for testing purposes.
I have searched through Freeradius's mailing-List but have not found
solution yet. I will be grateful for any help.
Thank you.
###############################
config on Cisco switch C2960
#############################
aaa new-model
!
!
aaa group server radius dot1x
!
aaa authentication login default group radius local
aaa authentication dot1x default group radius
aaa authorization exec default group radius if-authenticated
aaa authorization network default group radius
aaa accounting send stop-record authentication failure
aaa accounting suppress null-username
aaa accounting session-duration ntp-adjusted
aaa accounting update newinfo periodic 1
aaa accounting exec default start-stop group radius
aaa accounting network default start-stop group radius
aaa accounting connection default start-stop group radius
aaa accounting resource default start-stop-failure group radius
interface FastEthernet0/9
switchport access vlan 6
switchport mode access
authentication host-mode multi-auth
authentication port-control auto
authentication periodic
authentication timer inactivity 5
dot1x pae both
dot1x max-req 3
spanning-tree portfast
radius-server host 10.1.7.202 auth-port 1812 acct-port 1813 key "key"
###############################
/etc/raddb/sqlcounter.conf
################################
sqlcounter noresetcounter {
counter-name = Max-All-Session-Time
check-name = Max-All-Session
sqlmod-inst = sql
key = User-Name
reset = never
query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE
UserName='%{%k}'"
}
sqlcounter dailycounter {
filename = ${raddbdir}/db.daily
count-attribute = Acct-Session-Time
driver = "rlm_sqlcounter"
allowed-servicetype = Framed-User
counter-name = Daily-Session-Time
check-name = Max-Daily-Session
sqlmod-inst = sqlcca3
key = User-Name
reset = daily
query = "SELECT SUM(AcctSessionTime - GREATEST((%b -
UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct WHERE UserName='%{%k}' AND
UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '%b'"
}
sqlcounter monthlycounter {
counter-name = Monthly-Session-Time
check-name = Max-Monthly-Session
sqlmod-inst = sqlcca3
key = User-Name
reset = monthly query = "SELECT
SUM(AcctSessionTime - GREATEST((%b - UNIX_TIMESTAMP(AcctStartTime)), 0))
FROM radacct WHERE UserName='%{%k}' AND UNIX_TIMESTAMP(AcctStartTime) +
AcctSessionTime > '%b'"
}
######################################################################
/etc/raddb/radius.conf
######################################################################
modules {
$INCLUDE ${confdir}/sqlcounter.conf
instantiate {
exec
expr
dailycounter
}
authorize {
preprocess
mschap
suffix
eap
files
sql
dailycounter
}
authenticate {
Auth-Type PAP {
pap
}
Auth-Type CHAP {
chap
}
Auth-Type MS-CHAP {
mschap
}
unix
eap
}
#######################################################################
/etc/raddb/users
#######################################################################
clare Max-Daily-Session := 120, User-Password := "password"
Auth-Type := Reject, Reply-Message = "Your time limit is
used",
Simultaneous-Use := 1,
#########################################################################
Dubug output
#########################################################################
Going to the next request
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 10.1.5.4:1645, id=220, length=244
User-Name = "clare"
Service-Type = Framed-User
Framed-MTU = 1500
Called-Station-Id = "EC-30-91-1D-69-89"
Calling-Station-Id = "00-1E-33-D5-7A-68"
EAP-Message =
0x0209002b19001703010020205ecf13b3dc88bd738478cf6a2111e5903a5089b64e282bc15b5c7c6c0e771c
Message-Authenticator = 0x2cac65588536701091195c7b06db31a1
Cisco-AVPair = "audit-session-id=0A01050400000672A669A7C1"
NAS-Port-Type = Ethernet
NAS-Port = 50009
NAS-Port-Id = "FastEthernet0/9"
State = 0xb014050291b7b551b59b2a5f168e4f7d
NAS-IP-Address = 10.1.5.4
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 26
modcall[authorize]: module "preprocess" returns ok for request 26
modcall[authorize]: module "mschap" returns noop for request 26
rlm_realm: No '@' in User-Name = "clare", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 26
rlm_eap: EAP packet type response id 9 length 43
rlm_eap: No EAP Start, assuming it's an on-going EAP conversation
modcall[authorize]: module "eap" returns updated for request 26
users: Matched entry clare at line 97
modcall[authorize]: module "files" returns ok for request 26
radius_xlat: 'clare'
rlm_sql (sql): sql_set_user escaped user --> 'clare'
radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM
radcheck WHERE Username = 'clare' ORDER BY id'
rlm_sql (sql): Reserving sql socket id: 4
rlm_sql (sql): User clare not found in radcheck
radius_xlat: 'SELECT
radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op
FROM radgroupcheck,usergroup WHERE usergroup.Username = 'clare' AND
usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id'
radius_xlat: 'SELECT
radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op
FROM radgroupreply,usergroup WHERE usergroup.Username = 'clare' AND
usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id'
rlm_sql (sql): User clare not found in radgroupcheck
rlm_sql (sql): Released sql socket id: 4
rlm_sql (sql): User not found
modcall[authorize]: module "sql" returns notfound for request 26
rlm_sqlcounter: Entering module authorize code
sqlcounter_expand: 'SELECT SUM(AcctSessionTime - GREATEST((1330102800 -
UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct WHERE
UserName='%{User-Name}' AND UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime
> '1330102800''
radius_xlat: 'SELECT SUM(AcctSessionTime - GREATEST((1330102800 -
UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct WHERE UserName='clare' AND
UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '1330102800''
sqlcounter_expand: '%{sql:SELECT SUM(AcctSessionTime -
GREATEST((1330102800 - UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct
WHERE UserName='clare' AND UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime
> '1330102800'}'
radius_xlat: Running registered xlat function of module sql for string
'SELECT SUM(AcctSessionTime - GREATEST((1330102800 -
UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct WHERE UserName='clare' AND
UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '1330102800''
rlm_sql (sql): - sql_xlat
radius_xlat: 'clare'
rlm_sql (sql): sql_set_user escaped user --> 'clare'
radius_xlat: 'SELECT SUM(AcctSessionTime - GREATEST((1330102800 -
UNIX_TIMESTAMP(AcctStartTime)), 0)) FROM radacct WHERE UserName='clare' AND
UNIX_TIMESTAMP(AcctStartTime) + AcctSessionTime > '1330102800''
rlm_sql (sql): Reserving sql socket id: 3
rlm_sql (sql): row[0] returned NULL
rlm_sql (sql): Released sql socket id: 3
radius_xlat: ''
rlm_sqlcounter: (Check item - counter) is greater than zero
rlm_sqlcounter: Authorized user clare, check_item=120, counter=0
rlm_sqlcounter: Sent Reply-Item for user clare, Type=Session-Timeout,
value=120
modcall[authorize]: module "dailycounter" returns ok for request 26
modcall: leaving group authorize (returns updated) for request 26
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 26
rlm_eap: Request found, released from the list
rlm_eap: EAP/peap
rlm_eap: processing type peap
rlm_eap_peap: Authenticate
rlm_eap_tls: processing TLS
eaptls_verify returned 7
rlm_eap_tls: Done initial handshake
eaptls_process returned 7
rlm_eap_peap: EAPTLS_OK
rlm_eap_peap: Session established. Decoding tunneled attributes.
rlm_eap_peap: Received EAP-TLV response.
rlm_eap_peap: Tunneled data is valid.
rlm_eap_peap: Success
rlm_eap: Freeing handler
modcall[authenticate]: module "eap" returns ok for request 26
modcall: leaving group authenticate (returns ok) for request 26
radius_xlat: 'Your time limit is used'
Login OK: [clare] (from client C2960_NOC_LAN1 port 50009 cli
00-1E-33-D5-7A-68)
Sending Access-Accept of id 220 to 10.1.5.4 port 1645
Reply-Message = "Your time limit is used"
Session-Timeout = 120
MS-MPPE-Recv-Key =
0x33430a677c0ab2f0331e95b8ad8a7c96de6ac7e8065f622a7883bb736882d0e0
MS-MPPE-Send-Key =
0xed2c5c1c315e2387e636c3796035e004cb93d3d159a17c696a73bcd418ac483b
EAP-Message = 0x03090004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "clare"
Finished request 26
3
4
Test Environment: Can PEAPv0 and PEAPv1 be setup together on the default instance?
by whopeman 05 Mar '12
by whopeman 05 Mar '12
05 Mar '12
Hi,
I am fairly new to FreeRADIUS, so pelase bear with me a bit. I have
searched the forums and websites to find an implementation that allows me to
configure my server to process BOTH PEAP MSCHAP and PEAP/EAP-GTC (v0 and
v1). I have not found anyone trying to do this, but I am not working on a
production system this is for test purposes.
My GOAL:
I am working to setup a test environment that allows us to test our products
using EAP-TLS, EAP-TTLS, LEAP, PEAP/MSChap, and PEAP/EAP-GTC.
CURRENT:
What I have so far is a working system that processes everything except
PEAP/EAP-GTC. All authentication is performed through a local LDAP solution
(setup with CLEAR-TEXT again testing not production).
All of this is using the same client and the same certificates (i.e. the
same certificate that is being used for PEAP/MSCHAP is being used for
PEAP/EAP-GTC for tunnel authentication). What I am seeing in the logs is
the standard check your certificates message (as seen below in the radiusd
-X log). Like I said it is the same cert and client that works for
PEAPv0... so I am guessing this is not the actual problem.
I have run wireshark and grabbed the packet traces as well, when my client
connects it requests PEAP as the preferred auth type but FR seems to be
pushing v0 as the request type and does not seem to be allowing for v1. My
client does not handle this gracefully.
My QUESTION:
Is there an easy way to configure FR to allow for both types of requests? I
have been looking at the virtual server options without much luck in
understanding how to configure a secondary virtual server to provide a GTC
interface. If that is a recommendation, any guidance on setting up a
straight EAP-GTC via LDAP virtual server would be appreciated.
Thanks in advanced for any assistance. Logs below:
FreeRADIUS Version 2.1.12, for host x86_64-suse-linux-gnu, built on Feb 13
2012 at 14:07:11
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/cui
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/soh
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/opendirectory
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/redis
including configuration file /etc/raddb/modules/wimax
including configuration file /etc/raddb/modules/mac2vlan
including configuration file /etc/raddb/modules/replicate
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/ntlm_auth
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/dynamic_clients
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/rediswho
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
main {
user = "radiusd"
group = "radiusd"
allow_core_dumps = no
}
including dictionary file /etc/raddb/dictionary
main {
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
libdir = "/usr/lib64/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
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 = yes
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
coa {
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 10.0.12.100 {
require_message_authenticator = no
secret = "V0c0ll3ct"
shortname = "SQA_WLC"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file /etc/raddb/modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file /etc/raddb/modules/expr
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file
/etc/raddb/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file
/etc/raddb/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb/radiusd.conf
modules {
Module: Creating Auth-Type = digest
Module: Creating Post-Auth-Type = REJECT
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /etc/raddb/modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file /etc/raddb/modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file /etc/raddb/modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
allow_retry = yes
}
Module: Linked to module rlm_digest
Module: Instantiating module "digest" from file /etc/raddb/modules/digest
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file /etc/raddb/modules/unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file /etc/raddb/eap.conf
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 4096
}
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
CA_path = "/u02/security/EapCA"
pem_file_type = yes
private_key_file = "/u02/security/FreeRADIUS/FreeRADIUS.pem"
certificate_file = "/u02/security/FreeRADIUS/FreeRADIUS.pem"
CA_file = "/u02/security/EapCA/EapCA.pem"
private_key_password = "FreeRADIUS"
dh_file = "/u02/security/FreeRADIUS/dh"
random_file = "/u02/security/FreeRADIUS/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/u02/security/FreeRADIUS/bootstrap"
ecdh_curve = "prime256v1"
cache {
enable = no
lifetime = 0
max_entries = 255
}
verify {
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
}
}
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"
soh = no
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file
/etc/raddb/modules/preprocess
preprocess {
huntgroups = "/etc/raddb/huntgroups"
hints = "/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file /etc/raddb/modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file /etc/raddb/modules/files
files {
usersfile = "/etc/raddb/users"
acctusersfile = "/etc/raddb/acct_users"
preproxy_usersfile = "/etc/raddb/preproxy_users"
compat = "no"
}
Module: Linked to module rlm_ldap
Module: Instantiating module "ldap" from file /etc/raddb/modules/ldap
ldap {
server = "eng-eap-auth"
port = 389
password = "OpenDSAdmin"
identity = "cn=OpenDSAdmin"
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 = "dc=eap,dc=eng"
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 = no
set_auth_type = yes
keepalive {
interval = 3
}
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: Over-riding set_auth_type, as there is no module ldap listed in
the "authenticate" section.
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 userPassword mapped to RADIUS Password-With-Header
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: 0x6c9850
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file
/etc/raddb/modules/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: Linked to module rlm_detail
Module: Instantiating module "detail" from file /etc/raddb/modules/detail
detail {
detailfile =
"/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file /etc/raddb/modules/radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.accounting_response" from file
/etc/raddb/modules/attr_filter
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
relaxed = no
}
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
Module: Instantiating module "attr_filter.access_reject" from file
/etc/raddb/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
relaxed = no
}
} # modules
} # server
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
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"
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
... adding new socket proxy address * port 32774
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /var/run/radiusd/radiusd.sock
Listening on authentication address 127.0.0.1 port 18120 as server
inner-tunnel
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=88,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0x96d7e61227c67c001087e31d038751dc
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] attempting LDAP reconnection
[ldap] (re)connect to eng-eap-auth:389, authentication 0
[ldap] bind as cn=OpenDSAdmin/OpenDSAdmin to eng-eap-auth:389
[ldap] waiting for bind result ...
[ldap] Bind was successful
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 88 to 10.0.12.100 port 32769
EAP-Message = 0x0102001604106161c64876ee8e168904949a27509d24
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x669d9c54669f980162c5c19a61c497cc
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=89,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0x669d9c54669f980162c5c19a61c497cc
Message-Authenticator = 0x09bf99497269530bdd70e1c66d4f4501
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 89 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x669d9c54679e850162c5c19a61c497cc
Finished request 1.
Going to the next request
Waking up in 4.7 seconds.
Cleaning up request 0 ID 88 with timestamp +59
Waking up in 0.2 seconds.
Cleaning up request 1 ID 89 with timestamp +59
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x669d9c54679e8501 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=90,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0x27ced1e5a2a32a1a1345bd6c0d3d3266
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 90 to 10.0.12.100 port 32769
EAP-Message = 0x0102001604104a074f41e833b0dec10667681ba64e61
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xbd9fddc6bd9dd9842b7990ab680bfb25
Finished request 2.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=91,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0xbd9fddc6bd9dd9842b7990ab680bfb25
Message-Authenticator = 0xbd799dda9835151d9e485733a4e04643
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 91 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xbd9fddc6bc9cc4842b7990ab680bfb25
Finished request 3.
Going to the next request
Waking up in 4.7 seconds.
Cleaning up request 2 ID 90 with timestamp +90
Waking up in 0.2 seconds.
Cleaning up request 3 ID 91 with timestamp +90
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0xbd9fddc6bc9cc484 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=92,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0xd0588889f2bc0833b103cacae5cad8a6
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 92 to 10.0.12.100 port 32769
EAP-Message = 0x0102001604108ed49b18ef352cd93a46d489c7659377
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xf02e5ad7f02c5e675a0752e53820512b
Finished request 4.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=93,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0xf02e5ad7f02c5e675a0752e53820512b
Message-Authenticator = 0x0c3fe3419ee874b2d8e44647580871db
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 93 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xf02e5ad7f12d43675a0752e53820512b
Finished request 5.
Going to the next request
Waking up in 4.6 seconds.
Cleaning up request 4 ID 92 with timestamp +96
Waking up in 0.3 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=94,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0x837a1edb18992340b636ade370f6a9e1
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 94 to 10.0.12.100 port 32769
EAP-Message = 0x010200160410b17289685d6bd1fb79aa16b845095665
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xde2490a2de2694d19fa97aded2db7696
Finished request 6.
Going to the next request
Waking up in 0.2 seconds.
Cleaning up request 5 ID 93 with timestamp +96
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0xf02e5ad7f12d4367 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=95,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0xde2490a2de2694d19fa97aded2db7696
Message-Authenticator = 0x62895659920d2a77420c049fad099eb3
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 95 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xde2490a2df2789d19fa97aded2db7696
Finished request 7.
Going to the next request
Waking up in 4.7 seconds.
Cleaning up request 6 ID 94 with timestamp +101
Waking up in 0.2 seconds.
Cleaning up request 7 ID 95 with timestamp +101
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0xde2490a2df2789d1 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=96,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0xeed47dd183d35ef705309aed280380b9
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 96 to 10.0.12.100 port 32769
EAP-Message = 0x0102001604104c1f599a051f9cf66475e0b201faec33
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x40d9ea6940dbeeddc07bb829a9a246f2
Finished request 8.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=97,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0x40d9ea6940dbeeddc07bb829a9a246f2
Message-Authenticator = 0xa5b48193ce88d45547ffe563f44cb38c
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 97 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x40d9ea6941daf3ddc07bb829a9a246f2
Finished request 9.
Going to the next request
Waking up in 4.7 seconds.
Cleaning up request 8 ID 96 with timestamp +106
Waking up in 0.2 seconds.
Cleaning up request 9 ID 97 with timestamp +107
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x40d9ea6941daf3dd did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=98,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0xa8260649541b620f4171c92fafe48574
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 98 to 10.0.12.100 port 32769
EAP-Message = 0x010200160410e38f1ec4355e8913dbd8852155eb8656
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xc7b9e4c8c7bbe047683488285fa13096
Finished request 10.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=99,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0xc7b9e4c8c7bbe047683488285fa13096
Message-Authenticator = 0x600121742fea5e5c198ef8919349b136
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 99 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xc7b9e4c8c6bafd47683488285fa13096
Finished request 11.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=100,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0x1be2df4cc42d03da82f1072f3b742e22
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 100 to 10.0.12.100 port 32769
EAP-Message = 0x010200160410d1c7652fddc104874e938001b03b4d98
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x29876a9b29856eba5ffb610f8ca69d4f
Finished request 12.
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=101,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0x29876a9b29856eba5ffb610f8ca69d4f
Message-Authenticator = 0x956d4ce62de7b261fbc37090e08216b8
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 101 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x29876a9b288473ba5ffb610f8ca69d4f
Finished request 13.
Going to the next request
Waking up in 0.9 seconds.
Cleaning up request 10 ID 98 with timestamp +113
Cleaning up request 11 ID 99 with timestamp +113
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0xc7b9e4c8c6bafd47 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Waking up in 4.0 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=102,
length=163
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000e01706561707573657230
Message-Authenticator = 0x1d80cab28d231ff42da3476ff5a0881f
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 14
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 102 to 10.0.12.100 port 32769
EAP-Message = 0x0102001604105726294855175db3790c84814633b804
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x1ecf498d1ecd4dfa977d6d27468f439b
Finished request 14.
Going to the next request
Waking up in 0.9 seconds.
rad_recv: Access-Request packet from host 10.0.12.100 port 32769, id=103,
length=173
User-Name = "peapuser0"
Calling-Station-Id = "00-17-23-00-09-61"
Called-Station-Id = "00-0B-85-80-F7-F0:WARD_EAP"
NAS-Port = 4
NAS-IP-Address = 10.0.12.100
NAS-Identifier = "SQA_WLC"
Airespace-Wlan-Id = 15
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020200060319
State = 0x1ecf498d1ecd4dfa977d6d27468f439b
Message-Authenticator = 0xb94ad161665a96e6f0f21abac0791105
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "peapuser0", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
[ldap] performing user authorization for peapuser0
[ldap] expand: %{Stripped-User-Name} ->
[ldap] ... expanding second conditional
[ldap] expand: %{User-Name} -> peapuser0
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) ->
(uid=peapuser0)
[ldap] expand: dc=eap,dc=eng -> dc=eap,dc=eng
[ldap] ldap_get_conn: Checking Id: 0
[ldap] ldap_get_conn: Got Id: 0
[ldap] performing search in dc=eap,dc=eng, with filter (uid=peapuser0)
[ldap] No default NMAS login sequence
[ldap] looking for check items in directory...
[ldap] userPassword -> Password-With-Header == "{CLEAR}peapuser0"
[ldap] looking for reply items in directory...
[ldap] user peapuser0 authorized to use remote access
[ldap] ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 103 to 10.0.12.100 port 32769
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x1ecf498d1fcc50fa977d6d27468f439b
Finished request 15.
Going to the next request
Waking up in 0.9 seconds.
Cleaning up request 12 ID 100 with timestamp +117
Cleaning up request 13 ID 101 with timestamp +117
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x29876a9b288473ba did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Waking up in 4.0 seconds.
Cleaning up request 14 ID 102 with timestamp +121
Cleaning up request 15 ID 103 with timestamp +121
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x1ecf498d1fcc50fa did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Ready to process requests.
--
View this message in context: http://freeradius.1045715.n5.nabble.com/Test-Environment-Can-PEAPv0-and-PEA…
Sent from the FreeRadius - User mailing list archive at Nabble.com.
6
8
Hi,
my first post here, a newbie question, thanks for your help.
I'm going to set up two freeradius servers (2.1.7 on RHEL 5.5).
ServerB will be connected to an AP and I want it to proxy all EAP
requests to serverA (TTLS-PAP
will be the only method accepted) which will do authentication using
an OpenLDAP backend.
My question:
I'd like to configure serverA to include in the Access-Accept packet
some AVPs which are specific
to my Organization, like department_name, employee_role (I believe
these are the so called VSAs),
and I'd like serverB to perform some if-then-else logic on these VSAs
to dinamically calculate the
VLAN-ID to return to the AP.
Is this possible (in a simple way)? Is it a common set up?
Thanks,
Stefano
2
3
Hello,
1. I have been compiling Freeradius 3.0.0 or Freeradius 2.x with the --with-udpfromto flag, until very recently always on Mac OS X 10.4.11. Now I find OS X 10.7 (Lion) "no longer defines SOL_IP for {get,set}sockopt()" as described at http://trac.macports.org/ticket/30403. Inserting the following diff into ./src/lib/udpfromto.c does the trick of getting Freeradius 3.x and 2.x to compile.
--- ./src/lib/udpfromto.c.orig 2012-03-03 00:02:11.000000000 -0800
+++ ./src/lib/udpfromto.c 2012-03-03 00:28:31.000000000 -0800
@@ -49,6 +49,14 @@ RCSID("$Id$")
#include <fcntl.h>
/*
+ * Does this platform define SOL_IP
+ * or only bsd-style IPPROTO_IP ?
+ */
+#ifndef SOL_IP
+#define SOL_IP IPPROTO_IP
+#endif
+
+/*
* glibc 2.4 and uClibc 0.9.29 introduce IPV6_RECVPKTINFO etc. and
* change IPV6_PKTINFO This is only supported in Linux kernel >=
* 2.6.14
It appears Apple's Freeradius build ((http://opensource.apple.com/source/freeradius/freeradius-32/Makefile) doesn't use --with-udpfromto, so it doesn't need this workaround.
2. After adopting some of ./configure flags Apple used in its Makefile, I notice the --disable-static one makes Freeradius compile without spitting out the huge number of deprecation warnings concerning OpenSSL, OpenDirectory, and UTMP pasted below. The OpenSSL deprecation was discussed at http://stackoverflow.com/questions/7406946/why-is-apple-depricating-openssl… and http://ludovicrousseau.blogspot.com/2011/08/mac-os-x-lion-and-openssl.html, apparently because Apple is moving to replace it with its own Common Crypto framework.
I'm wondering if the Freeradius components utilizing those functions really get built successlly, with or without --disable-static, given the numerous deprecation warnings:
CC eap_tls.c
eap_tls.c: In function 'eaptls_operation':
eap_tls.c:642: warning: 'SSL_state' is deprecated (declared at /usr/include/openssl/ssl.h:1581)
eap_tls.c: In function 'eaptls_process':
eap_tls.c:696: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
eap_tls.c:783: warning: 'SSL_state' is deprecated (declared at /usr/include/openssl/ssl.h:1581)
eap_tls.c:813: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
CC mppe_keys.c
mppe_keys.c: In function 'P_hash':
mppe_keys.c:63: warning: 'HMAC_CTX_init' is deprecated (declared at /usr/include/openssl/hmac.h:90)
mppe_keys.c:64: warning: 'HMAC_CTX_init' is deprecated (declared at /usr/include/openssl/hmac.h:90)
<snipped>
mppe_keys.c:98: warning: 'HMAC_CTX_cleanup' is deprecated (declared at /usr/include/openssl/hmac.h:91)
mppe_keys.c:99: warning: 'HMAC_CTX_cleanup' is deprecated (declared at /usr/include/openssl/hmac.h:91)
mppe_keys.c: In function 'PRF':
mppe_keys.c:112: warning: 'EVP_md5' is deprecated (declared at /usr/include/openssl/evp.h:662)
mppe_keys.c:113: warning: 'EVP_sha1' is deprecated (declared at /usr/include/openssl/evp.h:666)
CC rlm_eap_tls.c
rlm_eap_tls.c: In function 'eaptls_initiate':
rlm_eap_tls.c:177: warning: 'SSL_set_verify' is deprecated (declared at /usr/include/openssl/ssl.h:1385)
rlm_eap_tls.c:187: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
rlm_eap_tls.c:188: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
rlm_eap_tls.c:189: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
rlm_eap_tls.c:190: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
rlm_eap_tls.c:192: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
rlm_eap_tls.c: In function 'eaptls_authenticate':
rlm_eap_tls.c:277: warning: 'SSL_get_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1587)
LINK rlm_eap_tls.la rlm_eap_tls.lo rlm_eap_tls.c
peap.c: In function 'eappeap_process':
peap.c:768: warning: 'SSL_ctrl' is deprecated (declared at /usr/include/openssl/ssl.h:1496)
LINK rlm_eap_peap.la rlm_eap_peap.lo peap.lo rlm_eap_peap.c peap.c
CC rlm_eap_pwd.c
rlm_eap_pwd.c: In function 'eap_pwd_detach':
rlm_eap_pwd.c:95: warning: 'BN_CTX_free' is deprecated (declared at /usr/include/openssl/bn.h:407)
rlm_eap_pwd.c: In function 'eap_pwd_attach':
rlm_eap_pwd.c:124: warning: 'BN_CTX_new' is deprecated (declared at /usr/include/openssl/bn.h:403)
rlm_eap_pwd.c: In function 'free_session':
rlm_eap_pwd.c:143: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
rlm_eap_pwd.c:144: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
<snipped>
rlm_eap_pwd.c:553: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415)
rlm_eap_pwd.c:554: warning: 'BN_bn2bin' is deprecated (declared at /usr/include/openssl/bn.h:423)
CC eap_pwd.c
CC eap_pwd.c
eap_pwd.c: In function 'H_Init':
eap_pwd.c:68: warning: 'HMAC_Init' is deprecated (declared at /usr/include/openssl/hmac.h:96)
eap_pwd.c:68: warning: 'EVP_sha256' is deprecated (declared at /usr/include/openssl/evp.h:673)
eap_pwd.c: In function 'H_Update':
eap_pwd.c:74: warning: 'HMAC_Update' is deprecated (declared at /usr/include/openssl/hmac.h:99)
eap_pwd.c: In function 'H_Final':
eap_pwd.c:82: warning: 'HMAC_Final' is deprecated (declared at /usr/include/openssl/hmac.h:100)
eap_pwd.c:83: warning: 'HMAC_CTX_cleanup' is deprecated (declared at /usr/include/openssl/hmac.h:91)
<snipped>
eap_pwd.c:117: warning: 'HMAC_CTX_cleanup' is deprecated (declared at /usr/include/openssl/hmac.h:91)
eap_pwd.c: In function 'compute_password_element':
eap_pwd.c:164: warning: 'EC_GROUP_new_by_curve_name' is deprecated (declared at /usr/include/openssl/ec.h:189)
eap_pwd.c:169: warning: 'BN_new' is deprecated (declared at /usr/include/openssl/bn.h:417)
<snipped>
eap_pwd.c:301: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
eap_pwd.c:302: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
eap_pwd.c: In function 'compute_scalar_element':
eap_pwd.c:316: warning: 'BN_new' is deprecated (declared at /usr/include/openssl/bn.h:417)
eap_pwd.c:317: warning: 'EC_POINT_new' is deprecated (declared at /usr/include/openssl/ec.h:204)
<snipped>
eap_pwd.c:330: warning: 'EC_POINT_mul' is deprecated (declared at /usr/include/openssl/ec.h:259)
eap_pwd.c:336: warning: 'EC_POINT_invert' is deprecated (declared at /usr/include/openssl/ec.h:248)
eap_pwd.c:343: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
eap_pwd.c: In function 'process_peer_commit':
eap_pwd.c:356: warning: 'BN_new' is deprecated (declared at /usr/include/openssl/bn.h:417)
eap_pwd.c:357: warning: 'BN_new' is deprecated (declared at /usr/include/openssl/bn.h:417)
<snipped>
eap_pwd.c:441: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
eap_pwd.c:442: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
eap_pwd.c: In function 'compute_server_confirm':
eap_pwd.c:458: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415)
eap_pwd.c:459: warning: 'BN_new' is deprecated (declared at /usr/include/openssl/bn.h:417)
<snipped>
eap_pwd.c: In function 'compute_peer_confirm':
eap_pwd.c:593: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415)
eap_pwd.c:594: warning: 'BN_new' is deprecated (declared at /usr/include/openssl/bn.h:417)
<snipped>
eap_pwd.c:708: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
eap_pwd.c:709: warning: 'BN_free' is deprecated (declared at /usr/include/openssl/bn.h:468)
eap_pwd.c: In function 'compute_keys':
eap_pwd.c:724: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415)
eap_pwd.c:735: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415)
<snipped>
eap_pwd.c:750: warning: 'BN_bn2bin' is deprecated (declared at /usr/include/openssl/bn.h:423)
eap_pwd.c:751: warning: 'BN_num_bits' is deprecated (declared at /usr/include/openssl/bn.h:415)
eap_pwd.c:762: warning: pointer targets in passing argument 3 of 'eap_pwd_kdf' differ in signedness
LINK rlm_eap_pwd.la rlm_eap_pwd.lo eap_pwd.lo rlm_eap_pwd.c eap_pwd.c
CC rlm_eap_ttls.c
rlm_eap_ttls.c: In function 'eapttls_authenticate':
rlm_eap_ttls.c:208: warning: 'SSL_ctrl' is deprecated (declared at /usr/include/openssl/ssl.h:1496)
CC rlm_mschap.c
rlm_mschap.c:651: warning: no previous prototype for 'mschap_add_reply'
rlm_mschap.c: In function 'do_mschap_cpw':
rlm_mschap.c:899: warning: 'RC4_set_key' is deprecated (declared at /usr/include/openssl/rc4.h:84)
rlm_mschap.c:900: warning: 'RC4' is deprecated (declared at /usr/include/openssl/rc4.h:86)
CC opendir.c
opendir.c: In function 'getUserNodeRef':
opendir.c:65: warning: 'dsDataBufferAllocate' is deprecated (declared at /System/Library/Frameworks/DirectoryService.framework/Headers/DirServicesUtils.h:46)
opendir.c:73: warning: 'dsFindDirNodes' is deprecated (declared at /System/Library/Frameworks/DirectoryService.framework/Headers/DirServices.h:195)
<snipped>
opendir.c:390: warning: 'dsCloseDirNode' is deprecated (declared at /System/Library/Frameworks/DirectoryService.framework/Headers/DirServices.h:235)
opendir.c:392: warning: 'dsCloseDirService' is deprecated (declared at /System/Library/Frameworks/DirectoryService.framework/Headers/DirServices.h:92)
LINK rlm_mschap.la rlm_mschap.lo mschap.lo smbdes.lo opendir.lo rlm_mschap.c mschap.c smbdes.c opendir.c
rlm_unix.c: In function 'unix_accounting':
rlm_unix.c:417: warning: 'utmp' is deprecated (declared at /usr/include/utmp.h:96)
CC threads.c
threads.c: In function 'setup_ssl_mutexes':
threads.c:251: warning: 'OPENSSL_add_all_algorithms_noconf' is deprecated (declared at /usr/include/openssl/evp.h:828)
threads.c:254: warning: 'CRYPTO_num_locks' is deprecated (declared at /usr/include/openssl/crypto.h:415)
threads.c:260: warning: 'CRYPTO_num_locks' is deprecated (declared at /usr/include/openssl/crypto.h:415)
threads.c:264: warning: 'CRYPTO_set_id_callback' is deprecated (declared at /usr/include/openssl/crypto.h:425)
threads.c:265: warning: 'CRYPTO_set_locking_callback' is deprecated (declared at /usr/include/openssl/crypto.h:418)
threads.c: In function 'request_handler_thread':
threads.c:586: warning: 'ERR_clear_error' is deprecated (declared at /usr/include/openssl/err.h:278)
threads.c:648: warning: 'ERR_remove_state' is deprecated (declared at /usr/include/openssl/err.h:299)
CC cb.c
cb.c: In function 'cbtls_info':
cb.c:36: warning: 'SSL_get_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1587)
cb.c:44: warning: 'SSL_state_string_long' is deprecated (declared at /usr/include/openssl/ssl.h:1419)
cb.c:57: warning: 'SSL_alert_type_string_long' is deprecated (declared at /usr/include/openssl/ssl.h:1536)
cb.c:57: warning: 'SSL_alert_desc_string_long' is deprecated (declared at /usr/include/openssl/ssl.h:1538)
cb.c:67: warning: 'SSL_want' is deprecated (declared at /usr/include/openssl/ssl.h:1352)
CC tls.c
tls.c: In function 'tls_new_client_session':
tls.c:108: warning: 'SSL_new' is deprecated (declared at /usr/include/openssl/ssl.h:1481)
tls.c:115: warning: 'SSL_set_msg_callback' is deprecated (declared at /usr/include/openssl/ssl.h:602)
<snipped>
tls.c:2377: warning: 'SSL_read' is deprecated (declared at /usr/include/openssl/ssl.h:1493)
tls.c:2385: warning: 'SSL_get_error' is deprecated (declared at /usr/include/openssl/ssl.h:1501)
CC tls_listen.c
tls_listen.c: In function 'tls_socket_recv':
tls_listen.c:191: warning: 'SSL_set_ex_data' is deprecated (declared at /usr/include/openssl/ssl.h:1586)
<snipped>
/usr/include/openssl/err.h:266)
tls_listen.c:614: warning: 'ERR_error_string' is deprecated (declared at /usr/include/openssl/err.h:279)
Best Regards,
Y.J. Zhang
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
2
1
So my server admins did what they're supposed to do and ran "yum update" on everything last weekend. The updates included a refresh of the "freeradius2" packages that took FR from 2.1.7 to 2.1.12.
That's all fine and dandy, except that what rpm does when it has config files that are part of a package - like /etc/raddb/modules/ldap - and those config files exist on your system already AND those config files have changed, is that it renames the new one to "blah.rpmnew".
This created a nasty problem. Now I have an /etc/raddb/modules/ldap and an /etc/raddb/modules/ldap.rpmnew, both of which define how "ldap { }" is supposed to work. Same thing happened to the mschap module.
SO...
The way I avoided this problem in the $RADDB/certs and $RADDB/sites-available directories is that I'm not using the default filenames in the first place. My certs are not named "ca.pem" and "server.pem" and so on. I'm not using the "default" or "inner-tunnel" virtual server definitions. I copied them to site-specific names and used THOSE, so I get the benefit of the sanity of the built-in virtual server definitions (not to mention an unsullied copy for contrast), but rpm doesn't screw me up.
The $RADDB/modules directory doesn't seem to work that way. I can't just do "cp ldap ldap-site" and call "ldap-site" from my virtual server instead of "ldap". I also can't leave it the way it is (stock) because rpm is going to come along and put another "ldap.rpmnew" file in there. I can't "not patch" FR because my predecessor went down that road and that's why he's not in charge of the RADIUS servers any more.
Ideas?
I'd like to tackle this from the FreeRADIUS side rather than by reconfiguring rpm because I can think of other reasons why some idio^H^H^H^H well-meaning admin might stick a test file in there without realizing that it causes problems. Switching to a site-specific module name (or some other method that allows FR to ignore the "extra" files) would prevent any such scenario.
Thx!
--J
4
5
Hi:
We've been running various versions of FreeRadius for years, currently 2.1.10 in
this application. A while ago, we switched from PAM (unix) auth to LDAP auth.
Everything worked fine after the switch...POSIX attributes for group membership
correctly allocated the right ippools, etc.
However, we just noticed that password expiry isn't working. I suspect this is
because we are still using all the original POSIX attributes and none of them look
like good for mapping to the ones supplied by FreeRADIUS. I see:
checkItem Expiration radiusExpiration
Our LDAP attributes use the following POSIX attributes to determine expiry:
shadowMax: 90
shadowLastChange: 15215
With the first being the maximum age of the password and the second being the
number of days since the Epoch. I will post the obligatory debug output below
(with sensitive or irrelevant stuff snipped out) for a successful authentication
for an expired password that shouldn't have succeeded. If anybody has an idea how
to fix this with the minimal of messing around with our LDAP config itself, I'd
greatly appreciate it...or, if that's unrealistic, what should be done. TIA!
# /usr/sbin/radiusd -X
FreeRADIUS Version 2.1.10, for host x86_64-unknown-linux-gnu, built on Oct 26 2010
at 10:54:48
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 /usr/etc/raddb/radiusd.conf
including configuration file /usr/etc/raddb/clients.conf
including configuration file /usr/etc/raddb/eap.conf
including configuration file /usr/etc/raddb/policy.conf
including files in directory /usr/etc/raddb/sites-enabled/
including configuration file /usr/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/etc/raddb/sites-enabled/default
main {
user = "root"
group = "wheel"
allow_core_dumps = no
}
including dictionary file /usr/etc/raddb/dictionary
main {
prefix = "/usr"
localstatedir = "/usr/var"
logdir = "/var/log/radius"
libdir = "/usr/lib"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
pidfile = "/usr/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = no
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 5
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Loading Clients ####
client localhost {
<SNIP>
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file /usr/etc/raddb/radiusd.conf
exec {
wait = yes
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file /usr/etc/raddb/radiusd.conf
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file /usr/etc/raddb/radiusd.conf
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file /usr/etc/raddb/radiusd.conf
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel { # from file /usr/etc/raddb/sites-enabled/inner-tunnel
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /usr/etc/raddb/radiusd.conf
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file /usr/etc/raddb/radiusd.conf
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file /usr/etc/raddb/radiusd.conf
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_pam
Module: Instantiating module "pam" from file /usr/etc/raddb/radiusd.conf
pam {
pam_auth = "radiusd-auth"
}
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file /usr/etc/raddb/radiusd.conf
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Module: Linked to module rlm_ldap
Module: Instantiating module "ldap1" from file /usr/etc/raddb/radiusd.conf
ldap ldap1 {
server = "ldap.server"
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 = "dc=domain,dc=com"
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 = "/usr/etc/raddb/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
set_auth_type = no
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Creating new attribute ldap1-Ldap-Group
rlm_ldap: Registering ldap_groupcmp for ldap1-Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap1
rlm_ldap: reading ldap<->radius mappings from file /usr/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 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
conns: 0x13fb4be0
Module: Instantiating module "ldap2" from file /usr/etc/raddb/radiusd.conf
ldap ldap2 {
server = "secondary.ldap.server"
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 = "dc=domain,dc=com"
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 = "/usr/etc/raddb/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
set_auth_type = no
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Creating new attribute ldap2-Ldap-Group
rlm_ldap: Registering ldap_groupcmp for ldap2-Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap2
rlm_ldap: reading ldap<->radius mappings from file /usr/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 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
conns: 0x13fb66e0
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file /usr/etc/raddb/eap.conf
eap {
default_eap_type = "md5"
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 = "/usr/etc/raddb/certs/server.pem"
certificate_file = "/usr/etc/raddb/certs/server.pem"
CA_file = "/usr/etc/raddb/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/usr/etc/raddb/certs/dh"
random_file = "/usr/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/usr/etc/raddb/certs/bootstrap"
}
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_realm
Module: Instantiating module "suffix" from file /usr/etc/raddb/radiusd.conf
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file /usr/etc/raddb/radiusd.conf
files {
usersfile = "/usr/etc/raddb/users"
acctusersfile = "/usr/etc/raddb/acct_users"
preproxy_usersfile = "/usr/etc/raddb/preproxy_users"
compat = "no"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file /usr/etc/raddb/radiusd.conf
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
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.access_reject" from file
/usr/etc/raddb/radiusd.conf
attr_filter attr_filter.access_reject {
attrsfile = "/usr/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
}
} # modules
} # server
server { # from file /usr/etc/raddb/radiusd.conf
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 module "preprocess" from file /usr/etc/raddb/radiusd.conf
preprocess {
huntgroups = "/usr/etc/raddb/huntgroups"
hints = "/usr/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file /usr/etc/raddb/radiusd.conf
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: Linked to module rlm_detail
Module: Instantiating module "detail" from file /usr/etc/raddb/radiusd.conf
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_ippool
Module: Instantiating module "some_pool" from file /usr/etc/raddb/radiusd.conf
<SNIP>
}
Module: Instantiating module "attr_filter.accounting_response" from file
/usr/etc/raddb/radiusd.conf
attr_filter attr_filter.accounting_response {
attrsfile = "/usr/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 = 1812
}
listen {
type = "acct"
ipaddr = *
port = 1813
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.7.1 port 1645, id=225, length=97
Framed-Protocol = PPP
User-Name = "ldaptest"
User-Password = "testing"
NAS-Port-Type = Virtual
NAS-Port = 241
NAS-Port-Id = "Uniq-Sess-ID241"
Service-Type = Framed-User
NAS-IP-Address = 192.168.bogus
# Executing section authorize from file /usr/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++- entering group LDAP {...}
[ldap1] performing user authorization for ldaptest
[ldap1] WARNING: Deprecated conditional expansion ":-". See "man unlang" for details
[ldap1] ... expanding second conditional
[ldap1] expand: %{User-Name} -> ldaptest
[ldap1] expand: (uid=%{Stripped-User-Name:-%{User-Name}}) -> (uid=ldaptest)
[ldap1] expand: dc=domain,dc=com -> dc=domain,dc=com
[ldap1] ldap_get_conn: Checking Id: 0
[ldap1] ldap_get_conn: Got Id: 0
[ldap1] attempting LDAP reconnection
[ldap1] (re)connect to ldap.server:389, authentication 0
[ldap1] bind as / to ldap.server:389
[ldap1] waiting for bind result ...
[ldap1] Bind was successful
[ldap1] performing search in dc=domain,dc=com, with filter (uid=ldaptest)
[ldap1] looking for check items in directory...
[ldap1] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP. Are you sure that the user
is configured correctly?
[ldap1] user ldaptest authorized to use remote access
[ldap1] ldap_release_conn: Release Id: 0
+++[ldap1] returns ok
++- group LDAP returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "ldaptest", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns updated
[files] users: Matched entry DEFAULT at line 237
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = LDAP
# Executing group from file /usr/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
++- entering group LDAP {...}
[ldap1] login attempt by "ldaptest" with password "testing"
[ldap1] user DN: uid=ldaptest,ou=People,dc=domain,dc=com
[ldap1] (re)connect to ldap.server:389, authentication 1
[ldap1] bind as uid=ldaptest,ou=People,dc=domain,dc=com/testing to ldap.server:389
[ldap1] waiting for bind result ...
[ldap1] Bind was successful
[ldap1] user ldaptest authenticated succesfully
+++[ldap1] returns ok
++- group LDAP returns ok
Login OK: [ldaptest] (from client cisco_pptp port 241)
# Executing section post-auth from file /usr/etc/raddb/sites-enabled/default
+- entering group post-auth {...}
[medium_pool] Could not find Pool-Name attribute.
++[medium_pool] returns noop
[super_pool] Could not find Pool-Name attribute.
++[super_pool] returns noop
[student_pool] Could not find Pool-Name attribute.
++[student_pool] returns noop
[euro_pool] Could not find Pool-Name attribute.
++[euro_pool] returns noop
++[exec] returns noop
Sending Access-Accept of id 225 to 192.168.Bogus port 1645
Framed-Protocol == PPP
Framed-Compression = Van-Jacobson-TCP-IP
Cisco-AVPair = "ip:addr-pool=vpnpool"
Finished request 0.
4
13
Hi!
I need to use an external script to check both username and password.
We don't have the cleartext version of these passwords, which are encrypted in a Postresql database...
Although I'm running into troubles with the configuration files... And there's one major issue I can't seem to solve : EAP.
I don't know how to pass the cleartext version of the entered password to the external script from the inner-tunnel of the EAP process.
Could anybody help me on this?
Thanks!
2
1
03 Mar '12
Hi all,
Again questions about FR as DHCP server with SQ:
Is it possible to setup FR as DHCPd on FreeBSD to a given interface or it's IP?
Could I use rlm_sqlpool to store MAC-IP associations?
I am trying to use an old dial-up module (FreeNIBS) for my WiFi network, all seems to be OK, but there is no DHCP,
2
1
Hi all. I'm developing a VPN service (with FreeRadius and MySQL as
backend) and wanted to know if there's any customer/billing management
solutions that support FreeRadius before I go and write my own. I
haven't really been able to find anything other than maybe Platypus and
a plugin for WHMCS...
What solutions are out there that might be appropriate? (commercial is
ok). Could I maybe adapt some of the more WISP-oriented solutions to my
needs?
Thanks in advance,,
Nick
2
1
Hi!
I need to use an external script to check both username and password.
We don't have the cleartext version of these passwords, which are encrypted in a Postresql database...
Although I'm running into troubles with the configuration files... And there's one major issue I can't seem to solve : EAP.
I don't know how to pass the cleartext version of the entered password to the external script from the inner-tunnel of the EAP process.
Could anybody help me on this?
Thanks!
2
1