Hello,<br>
<br>
i have got a realy annoing authentification problem and i would be glad if you could help me.<br>
<br>
I use a Cisco Aironet 1130ag Access Point, the radius-server is a Debian
Squeeze (6.0.5) and i installed FreeRadius Version 2.1.10 from the
packet sources.<br>
<br>
<br>
After i made some changes to the /etc/freeradius/modules/ldap to let my
radius know where the LDAP is and some other things it looks like this:<br>
<br>
----------> /etc/freeradius/modules/ldap<br>
ldap {<br>
<br>
server = 172.26.100.1<br>
identity = "uid=binduser,cn=users,ou=<div>Infrastruktur,dc=tarent,dc=de"<br>
password = xxxxxxxx<br>
basedn = "dc=tarent,dc=de"<br>
filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"<br>
base_filter = "(objectclass=posixAccount)"<br>
<br>
groupname_attribute = cn<br>
<br>
# groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{control:Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{control:Ldap-UserDn})))"<br>
groupmembership_filter = "(&(objectClass=posixGroup)(memberUid=%{%{Stripped-User-Name}:-%{User-Name}}))"<br>
<br>
# groupmembership_attribute = radiusGroupName<br>
groupmembership_attribute = WLAN<br>
<br>
# compare_check_items = yes<br>
# do_xlat = yes<br>
# access_attr_used_for_allow = yes<br>
<br>
dictionary_mapping = /etc/freeradius/ldap.attrmap<br>
password_attribute = CleartextPassword<br>
set_auth_type = yes<br>
}<br>
<br>
when i start the freeradius with freeradius -X this is the output i get:<br>
<br>
FreeRADIUS Version 2.1.10, for host x86_64-pc-linux-gnu, built on Sep 11 2012 at 17:06:46<br>
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.<br>
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A<br>
PARTICULAR PURPOSE.<br>
You may redistribute copies of FreeRADIUS under the terms of the<br>
GNU General Public License v2.<br>
Starting - reading configuration files ...<br>
including configuration file /etc/freeradius/radiusd.conf<br>
including configuration file /etc/freeradius/proxy.conf<br>
including configuration file /etc/freeradius/clients.conf<br>
including files in directory /etc/freeradius/modules/<br>
including configuration file /etc/freeradius/modules/attr_rewrite<br>
including configuration file /etc/freeradius/modules/sradutmp<br>
including configuration file /etc/freeradius/modules/expr<br>
including configuration file /etc/freeradius/modules/opendirectory<br>
including configuration file /etc/freeradius/modules/dynamic_clients<br>
including configuration file /etc/freeradius/modules/chap<br>
including configuration file /etc/freeradius/modules/detail<br>
including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login<br>
including configuration file /etc/freeradius/modules/exec<br>
including configuration file /etc/freeradius/modules/linelog<br>
including configuration file /etc/freeradius/modules/ntlm_auth<br>
including configuration file /etc/freeradius/modules/preprocess<br>
including configuration file /etc/freeradius/modules/detail.log<br>
including configuration file /etc/freeradius/modules/expiration<br>
including configuration file /etc/freeradius/modules/acct_unique<br>
including configuration file /etc/freeradius/modules/logintime<br>
including configuration file /etc/freeradius/modules/smsotp<br>
including configuration file /etc/freeradius/modules/echo<br>
including configuration file /etc/freeradius/modules/always<br>
including configuration file /etc/freeradius/modules/etc_group<br>
including configuration file /etc/freeradius/modules/<a href="http://detail.example.com" target="_blank">detail.example.com</a><br>
including configuration file /etc/freeradius/modules/mac2ip<br>
including configuration file /etc/freeradius/modules/policy<br>
including configuration file /etc/freeradius/modules/attr_filter<br>
including configuration file /etc/freeradius/modules/digest<br>
including configuration file /etc/freeradius/modules/mschap<br>
including configuration file /etc/freeradius/modules/mac2vlan<br>
including configuration file /etc/freeradius/modules/krb5<br>
including configuration file /etc/freeradius/modules/radutmp<br>
including configuration file /etc/freeradius/modules/unix<br>
including configuration file /etc/freeradius/modules/realm<br>
including configuration file /etc/freeradius/modules/inner-eap<br>
including configuration file /etc/freeradius/modules/wimax<br>
including configuration file /etc/freeradius/modules/passwd<br>
including configuration file /etc/freeradius/modules/cui<br>
including configuration file /etc/freeradius/modules/counter<br>
including configuration file /etc/freeradius/modules/ldap<br>
including configuration file /etc/freeradius/modules/files<br>
including configuration file /etc/freeradius/modules/checkval<br>
including configuration file /etc/freeradius/modules/pap<br>
including configuration file /etc/freeradius/modules/perl<br>
including configuration file /etc/freeradius/modules/pam<br>
including configuration file /etc/freeradius/modules/smbpasswd<br>
including configuration file /etc/freeradius/modules/otp<br>
including configuration file /etc/freeradius/modules/ippool<br>
including configuration file /etc/freeradius/modules/sql_log<br>
including configuration file /etc/freeradius/eap.conf<br>
including configuration file /etc/freeradius/policy.conf<br>
including files in directory /etc/freeradius/sites-enabled/<br>
including configuration file /etc/freeradius/sites-enabled/inner-tunnel<br>
including configuration file /etc/freeradius/sites-enabled/default<br>
main {<br>
user = "freerad"<br>
group = "freerad"<br>
allow_core_dumps = no<br>
}<br>
including dictionary file /etc/freeradius/dictionary<br>
main {<br>
prefix = "/usr"<br>
localstatedir = "/var"<br>
logdir = "/var/log/freeradius"<br>
libdir = "/usr/lib/freeradius"<br>
radacctdir = "/var/log/freeradius/radacct"<br>
hostname_lookups = no<br>
max_request_time = 30<br>
cleanup_delay = 5<br>
max_requests = 1024<br>
pidfile = "/var/run/freeradius/freeradius.pid"<br>
checkrad = "/usr/sbin/checkrad"<br>
debug_level = 0<br>
proxy_requests = no<br>
log {<br>
stripped_names = no<br>
auth = yes<br>
auth_badpass = no<br>
auth_goodpass = no<br>
}<br>
security {<br>
max_attributes = 200<br>
reject_delay = 1<br>
status_server = yes<br>
}<br>
}<br>
radiusd: #### Loading Realms and Home Servers ####<br>
proxy server {<br>
retry_delay = 5<br>
retry_count = 3<br>
default_fallback = no<br>
dead_time = 120<br>
wake_all_if_all_dead = no<br>
}<br>
home_server localhost {<br>
ipaddr = 127.0.0.1<br>
port = 1812<br>
type = "auth"<br>
secret = "testing123"<br>
response_window = 20<br>
max_outstanding = 65536<br>
require_message_authenticator = yes<br>
zombie_period = 40<br>
status_check = "status-server"<br>
ping_interval = 30<br>
check_interval = 30<br>
num_answers_to_alive = 3<br>
num_pings_to_alive = 3<br>
revive_interval = 120<br>
status_check_timeout = 4<br>
irt = 2<br>
mrt = 16<br>
mrc = 5<br>
mrd = 30<br>
}<br>
home_server_pool my_auth_failover {<br>
type = fail-over<br>
home_server = localhost<br>
}<br>
realm <a href="http://example.com" target="_blank">example.com</a> {<br>
auth_pool = my_auth_failover<br>
}<br>
realm LOCAL {<br>
}<br>
radiusd: #### Loading Clients ####<br>
client localhost {<br>
ipaddr = 127.0.0.1<br>
require_message_authenticator = no<br>
secret = "testing123"<br>
nastype = "other"<br>
}<br>
client man-netz {<br>
ipaddr = 10.10.20.0<br>
netmask = 23<br>
require_message_authenticator = no<br>
secret = "testing123"<br>
nastype = "cisco"<br>
}<br>
radiusd: #### Instantiating modules ####<br>
instantiate {<br>
Module: Linked to module rlm_exec<br>
Module: Instantiating module "exec" from file /etc/freeradius/modules/exec<br>
exec {<br>
wait = no<br>
input_pairs = "request"<br>
shell_escape = yes<br>
}<br>
Module: Linked to module rlm_expr<br>
Module: Instantiating module "expr" from file /etc/freeradius/modules/expr<br>
Module: Linked to module rlm_expiration<br>
Module: Instantiating module "expiration" from file /etc/freeradius/modules/expiration<br>
expiration {<br>
reply-message = "Password Has Expired "<br>
}<br>
Module: Linked to module rlm_logintime<br>
Module: Instantiating module "logintime" from file /etc/freeradius/modules/logintime<br>
logintime {<br>
reply-message = "You are calling outside your allowed timespan "<br>
minimum-timeout = 60<br>
}<br>
}<br>
radiusd: #### Loading Virtual Servers ####<br>
server { # from file /etc/freeradius/radiusd.conf<br>
modules {<br>
Module: Checking authenticate {...} for more modules to load<br>
Module: Linked to module rlm_mschap<br>
Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap<br>
mschap {<br>
use_mppe = yes<br>
require_encryption = no<br>
require_strong = no<br>
with_ntdomain_hack = yes<br>
}<br>
Module: Linked to module rlm_ldap<br>
Module: Instantiating module "ldap" from file /etc/freeradius/modules/ldap<br>
ldap {<br>
server = "172.26.100.1"<br>
port = 389<br>
password = "AhRohr7Z"<br>
identity = "uid=binduser,cn=users,ou=Infrastruktur,dc=tarent,dc=de"<br>
net_timeout = 10<br>
timeout = 20<br>
timelimit = 20<br>
tls_mode = no<br>
start_tls = no<br>
tls_require_cert = "allow"<br>
basedn = "dc=tarent,dc=de"<br>
filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"<br>
base_filter = "(objectclass=posixAccount)"<br>
password_attribute = "CleartextPassword"<br>
auto_header = no<br>
access_attr_used_for_allow = yes<br>
groupname_attribute = "cn"<br>
groupmembership_filter = "(&(objectClass=posixGroup)(memberUid=%{%{Stripped-User-Name}:-%{User-Name}}))"<br>
groupmembership_attribute = "WLAN"<br>
dictionary_mapping = "/etc/freeradius/ldap.attrmap"<br>
ldap_debug = 0<br>
ldap_connections_number = 5<br>
compare_check_items = no<br>
do_xlat = yes<br>
edir_account_policy_check = yes<br>
set_auth_type = yes<br>
}<br>
rlm_ldap: Registering ldap_groupcmp for Ldap-Group<br>
rlm_ldap: Registering ldap_xlat with xlat_name ldap<br>
rlm_ldap: reading ldap<->radius mappings from file /etc/freeradius/ldap.attrmap<br>
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$<br>
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$<br>
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type<br>
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use<br>
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id<br>
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id<br>
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password<br>
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password<br>
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password<br>
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password<br>
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password<br>
rlm_ldap: LDAP userPassword mapped to RADIUS Password-With-Header<br>
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT<br>
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration<br>
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address<br>
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type<br>
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol<br>
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address<br>
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask<br>
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route<br>
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing<br>
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id<br>
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU<br>
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression<br>
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host<br>
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service<br>
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port<br>
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number<br>
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id<br>
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network<br>
rlm_ldap: LDAP radiusClass mapped to RADIUS Class<br>
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout<br>
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout<br>
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action<br>
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service<br>
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node<br>
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group<br>
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link<br>
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network<br>
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone<br>
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit<br>
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port<br>
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message<br>
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type<br>
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type<br>
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id<br>
conns: 0x1c6dbf0<br>
Module: Linked to module rlm_eap<br>
Module: Instantiating module "eap" from file /etc/freeradius/eap.conf<br>
eap {<br>
default_eap_type = "md5"<br>
timer_expire = 60<br>
ignore_unknown_eap_types = no<br>
cisco_accounting_username_bug = no<br>
max_sessions = 4096<br>
}<br>
Module: Linked to sub-module rlm_eap_md5<br>
Module: Instantiating eap-md5<br>
Module: Linked to sub-module rlm_eap_leap<br>
Module: Instantiating eap-leap<br>
Module: Linked to sub-module rlm_eap_gtc<br>
Module: Instantiating eap-gtc<br>
gtc {<br>
challenge = "Password: "<br>
auth_type = "PAP"<br>
}<br>
Module: Linked to sub-module rlm_eap_tls<br>
Module: Instantiating eap-tls<br>
tls {<br>
rsa_key_exchange = no<br>
dh_key_exchange = yes<br>
rsa_key_length = 512<br>
dh_key_length = 512<br>
verify_depth = 0<br>
CA_path = "/etc/freeradius/certs"<br>
pem_file_type = yes<br>
private_key_file = "/etc/freeradius/certs/server.key"<br>
certificate_file = "/etc/freeradius/certs/server.pem"<br>
private_key_password = "3TBR4yYD1ok1Ki5H"<br>
dh_file = "/etc/freeradius/certs/dh"<br>
random_file = "/dev/urandom"<br>
fragment_size = 1024<br>
include_length = yes<br>
check_crl = yes<br>
check_cert_cn = "%{User-Name}"<br>
cipher_list = "DEFAULT"<br>
make_cert_command = "/etc/freeradius/certs/bootstrap"<br>
cache {<br>
enable = no<br>
lifetime = 24<br>
max_entries = 255<br>
}<br>
verify {<br>
}<br>
}<br>
Module: Linked to sub-module rlm_eap_ttls<br>
Module: Instantiating eap-ttls<br>
ttls {<br>
default_eap_type = "md5"<br>
copy_request_to_tunnel = no<br>
use_tunneled_reply = no<br>
include_length = yes<br>
}<br>
Module: Linked to sub-module rlm_eap_peap<br>
Module: Instantiating eap-peap<br>
peap {<br>
default_eap_type = "mschapv2"<br>
copy_request_to_tunnel = no<br>
use_tunneled_reply = no<br>
proxy_tunneled_request_as_eap = yes<br>
virtual_server = "inner-tunnel"<br>
}<br>
Module: Linked to sub-module rlm_eap_mschapv2<br>
Module: Instantiating eap-mschapv2<br>
mschapv2 {<br>
with_ntdomain_hack = yes<br>
}<br>
Module: Checking authorize {...} for more modules to load<br>
Module: Linked to module rlm_chap<br>
Module: Instantiating module "chap" from file /etc/freeradius/modules/chap<br>
Module: Checking post-auth {...} for more modules to load<br>
Module: Linked to module rlm_always<br>
Module: Instantiating module "fail" from file /etc/freeradius/modules/always<br>
always fail {<br>
rcode = "fail"<br>
simulcount = 0<br>
mpp = no<br>
}<br>
} # modules<br>
} # server<br>
radiusd: #### Opening IP addresses and Ports ####<br>
listen {<br>
type = "auth"<br>
ipaddr = *<br>
port = 0<br>
}<br>
listen {<br>
type = "acct"<br>
ipaddr = *<br>
port = 0<br>
}<br>
listen {<br>
type = "auth"<br>
ipaddr = *<br>
port = 1645<br>
}<br>
listen {<br>
type = "acct"<br>
ipaddr = *<br>
port = 1646<br>
}<br>
Listening on authentication address * port 1812<br>
Listening on accounting address * port 1813<br>
Listening on authentication address * port 1645<br>
Listening on accounting address * port 1646<br>
Ready to process requests.<br>
<br>
<br>
I dont see any critical errors so i tried the radtest command.<br>
<br>
<br>
------ radtest -x testuser password123 127.0.0.1 10 testing123<br>
Sending Access-Request of id 247 to 127.0.0.1 port 1812<br>
User-Name = "testuser"<br>
User-Password = "password123"<br>
NAS-IP-Address = 10.10.20.36<br>
NAS-Port = 10<br>
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=247, length=20<br>
<br>
<br>
------- radius output:<br>
rad_recv: Access-Request packet from host 127.0.0.1 port 58762, id=247, length=58<br>
User-Name = "testuser"<br>
User-Password = "password123"<br>
NAS-IP-Address = 10.10.20.36<br>
NAS-Port = 10<br>
# Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel<br>
+- entering group authorize {...}<br>
++[chap] returns noop<br>
++[mschap] returns noop<br>
[eap] No EAP-Message, not doing EAP<br>
++[eap] returns noop<br>
[ldap] performing user authorization for whaeri<br>
[ldap] expand: %{Stripped-User-Name} -><br>
[ldap] ... expanding second conditional<br>
[ldap] expand: %{User-Name} -> testuser<br>
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=testuser)<br>
[ldap] expand: dc=tarent,dc=de -> dc=tarent,dc=de<br>
[ldap] ldap_get_conn: Checking Id: 0<br>
[ldap] ldap_get_conn: Got Id: 0<br>
[ldap] attempting LDAP reconnection<br>
[ldap] (re)connect to <a href="http://172.26.100.1:389" target="_blank">172.26.100.1:389</a>, authentication 0<br>
[ldap] bind as uid=binduser,cn=users,ou=Infrastruktur,dc=tarent,dc=de/xxxxxxxxx to <a href="http://172.26.100.1:389" target="_blank">172.26.100.1:389</a><br>
[ldap] waiting for bind result ...<br>
[ldap] Bind was successful<br>
[ldap] performing search in dc=tarent,dc=de, with filter (uid=testuser)<br>
[ldap] No default NMAS login sequence<br>
[ldap] looking for check items in directory...<br>
[ldap] userPassword -> Password-With-Header == "{crypt}$1$l4Je/bMr$IEKzWS2SQ78eEfM/a6VB7/"<br>
[ldap] looking for reply items in directory...<br>
[ldap] Setting Auth-Type = LDAP<br>
[ldap] user whaeri authorized to use remote access<br>
[ldap] ldap_release_conn: Release Id: 0<br>
++[ldap] returns ok<br>
Found Auth-Type = LDAP<br>
# Executing group from file /etc/freeradius/sites-enabled/inner-tunnel<br>
+- entering group LDAP {...}<br>
[ldap] login attempt by "testuser" with password "password123"<br>
[ldap] user DN: uid=whaeri,cn=users,dc=tarent,dc=de<br>
[ldap] (re)connect to <a href="http://172.26.100.1:389" target="_blank">172.26.100.1:389</a>, authentication 1<br>
[ldap] bind as uid=testuser,cn=users,dc=tarent,dc=de/password123 to <a href="http://172.26.100.1:389" target="_blank">172.26.100.1:389</a><br>
[ldap] waiting for bind result ...<br>
[ldap] Bind was successful<br>
[ldap] user testuser authenticated succesfully<br>
++[ldap] returns ok<br>
Login OK: [testuser] (from client localhost port 10)<br>
# Executing section post-auth from file /etc/freeradius/sites-enabled/inner-tunnel<br>
+- entering group post-auth {...}<br>
++? if (!(Ldap-Group == WLAN))<br>
[ldap] Entering ldap_groupcmp()<br>
expand: dc=tarent,dc=de -> dc=tarent,dc=de<br>
expand: %{Stripped-User-Name} -><br>
... expanding second conditional<br>
expand: %{User-Name} -> whaeri<br>
expand: (&(objectClass=posixGroup)(memberUid=%{%{Stripped-User-Name}:-%{User-Name}})) -> (&(objectClass=posixGroup)(memberUid=testuser))<br>
[ldap] ldap_get_conn: Checking Id: 0<br>
[ldap] ldap_get_conn: Got Id: 0<br>
[ldap] performing search in dc=tarent,dc=de, with filter (&(cn=WLAN)(&(objectClass=posixGroup)(memberUid=testuser)))<br>
rlm_ldap::ldap_groupcmp: User found in group WLAN<br>
[ldap] ldap_release_conn: Release Id: 0<br>
?? Evaluating (Ldap-Group == WLAN) -> TRUE<br>
? Converting !TRUE -> FALSE<br>
++? if (!(Ldap-Group == WLAN)) -> FALSE<br>
Sending Access-Accept of id 247 to 127.0.0.1 port 58762<br>
Finished request 0.<br>
Going to the next request<br>
<br>
I am very happy to see that my request was accepted, so i configured my
Cisco Access Point so i could access the w-lan with my mobile phone or
my linux laptop.<br>
<br>
----- Login attempt with eap tls<br>
<br>
rad_recv: Access-Request packet from host 10.10.20.43 port 1645, id=134, length=151<br>
User-Name = "farenz"<br>
Framed-MTU = 1400<br>
Called-Station-Id = "001b.8f8a.ac30"<br>
Calling-Station-Id = "1cb0.9475.d65a"<br>
Service-Type = Login-User<br>
Message-Authenticator = 0x5dfdd286bcfbe2d2ec991382dfdb612a<br>
EAP-Message = 0x02020006030d<br>
NAS-Port-Type = Wireless-802.11<br>
NAS-Port = 335<br>
NAS-Port-Id = "335"<br>
State = 0x8775567a8777525d448a92d78bfaa32e<br>
NAS-IP-Address = 10.10.20.43<br>
NAS-Identifier = "ap-bn-test"<br>
# Executing section authorize from file /etc/freeradius/sites-enabled/inner-tunnel<br>
+- entering group authorize {...}<br>
++[chap] returns noop<br>
++[mschap] returns noop<br>
[eap] EAP packet type response id 2 length 6<br>
[eap] No EAP Start, assuming it's an on-going EAP conversation<br>
++[eap] returns updated<br>
[ldap] performing user authorization for farenz<br>
[ldap] expand: %{Stripped-User-Name} -><br>
[ldap] ... expanding second conditional<br>
[ldap] expand: %{User-Name} -> farenz<br>
[ldap] expand: (uid=%{%{Stripped-User-Name}:-%{User-Name}}) -> (uid=farenz)<br>
[ldap] expand: dc=tarent,dc=de -> dc=tarent,dc=de<br>
[ldap] ldap_get_conn: Checking Id: 0<br>
[ldap] ldap_get_conn: Got Id: 0<br>
[ldap] performing search in dc=tarent,dc=de, with filter (uid=farenz)<br>
[ldap] No default NMAS login sequence<br>
[ldap] looking for check items in directory...<br>
[ldap] userPassword -> Password-With-Header == "{crypt}$1$wNTQUAjn$f0ragZNFWuArJ3FMbA2WW1"<br>
[ldap] looking for reply items in directory...<br>
[ldap] user farenz authorized to use remote access<br>
[ldap] ldap_release_conn: Release Id: 0<br>
++[ldap] returns ok<br>
Found Auth-Type = EAP<br>
# Executing group from file /etc/freeradius/sites-enabled/inner-tunnel<br>
+- entering group authenticate {...}<br>
[eap] Request found, released from the list<br>
[eap] EAP NAK<br>
[eap] EAP-NAK asked for EAP-Type/tls<br>
[eap] processing type tls<br>
[tls] Requiring client certificate<br>
[tls] Initiate<br>
[tls] Start returned 1<br>
++[eap] returns handled<br>
Sending Access-Challenge of id 134 to 10.10.20.43 port 1645<br>
EAP-Message = 0x010300060d20<br>
Message-Authenticator = 0x00000000000000000000000000000000<br>
State = 0x8775567a86765b5d448a92d78bfaa32e<br>
Finished request 4.<br>
Going to the next request<br>
<br>
<br>
Near the end the Radius output says:<br>
> [tls] Requiring client certificate<br>
<br>
Then i've read <a href="http://deployingradius.com/documents/configuration/eap.html" target="_blank">http://deployingradius.com/documents/configuration/eap.html</a> but i cant finde such a Validate Server Certificate option to uncheck.<br>
Now even if i am able to create a good certificate, i had to deploy it on about 500 Computers.<br>
<br>
Is it possible to use freeradius without such certificates?<br>
And if not, you might show me how to create a certificate and get this server running?<br>
<br>
Thank you in advance.<br>
<br>
<br>
With best regards,<br>
Florian</div>