Freeradius-Users
Threads by month
- ----- 2026 -----
- November
- October
- September
- August
- 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
- 7 participants
- 27067 discussions
Hi,
I think i vefound the problem. it is not able to find the gdbm.h file from /usr/include.
configuring in src/modules/rlm_counter
configure: running /bin/sh ./configure '--prefix=/usr' '--build' 'i686-pc-linux-gnu' '--host' 'mips-xlr-linux-gnu' '--target' 'mips-xlr-linux-gnu' '--enable-strict-dependencies' '--without-rlm_attr_filter' '--without-rlm_digest' '--without-rlm_expr' '--without-rlm_krb5' '--without-rlm_pam' '--without-rlm_preprocess' '--without-rlm_sim_files' '--without-rlm_unix' '--without-rlm_cram' '--without-rlm_fastusers' '--without-rlm_python' '--without-rlm_smb' '--without-rlm_x99_token' '--without-rlm_acct_unique' '--without-rlm_example' '--without-rlm_passwd' '--without-rlm_radutmp' '--without-rlm_sql' '--without-rlm_always' '--without-rlm_checkval' '--without-rlm_detail' '--without-rlm_exec' '--without-rlm_ippool' '--without-rlm_dbm' '--without-rlm_ns_mta_md5' '--without-rlm_perl' '--without-rlm_realm' '--without-rlm_sqlcounter' '--without-threads' '--without-rlm_eap_ikev2' '--without-rlm_eap_tnc' '--localstatedir=/var' '--sysconfdir=/etc'
'--with-logdir=/var/radius' '--without-snmp' 'build_alias=i686-pc-linux-gnu' 'host_alias=mips-xlr-linux-gnu' 'target_alias=mips-xlr-linux-gnu' 'CC=/opt/wios/gcc-4.2.2-glibc-2.7-p2/mips-xlr-linux-gnu/bin/mips-xlr-linux-gnu-gcc'
checking for mips-xlr-linux-gnu-gcc... /opt/wios/gcc-4.2.2-glibc-2.7-p2/mips-xlr-linux-gnu/bin/mips-xlr-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/wios/gcc-4.2.2-glibc-2.7-p2/mips-xlr-linux-gnu/bin/mips-xlr-linux-gnu-gcc accepts -g... yes
checking for /opt/wios/gcc-4.2.2-glibc-2.7-p2/mips-xlr-linux-gnu/bin/mips-xlr-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... /opt/wios/gcc-4.2.2-glibc-2.7-p2/mips-xlr-linux-gnu/bin/mips-xlr-linux-gnu-cpp
checking for gdbm.h... no
checking for gdbm_open in -lgdbm... no
checking for gdbm_fdesc... no
configure: error: set --without-rlm_counter to disable it explicitly.
configure: error: ./configure failed for src/modules/rlm_counter
But the gdbm.h is present in /usr/include then why is it not finding.
wat to do?
Thanks & Regards,
Kachin
Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew
2
1
hi,
I'm using freebsd with radius,
and when radius inserts the records on radacct, its registering 3 equal
records
--
Att.
Alisson F. Gonçalves
Sistemas de Informação - UFGD
3
4
Hello, I'm using Freeradius 2.0.4-3 an Debian.
My clients are in a MySQL database (nas table).
+----+------------------+---------------+-------+---------+------------+---------+---------------+---------------------------+
| id | nasname | shortname | type | ports | secret | server
| community | description |
+----+------------------+---------------+-------+---------+------------+---------+---------------+---------------------------+
| 1 | XXX | NODO1 | other | NULL | secretN1 | nodes |
nodo | Nodo Wifi |
| 2 | YYY | NODO2 | other | NULL | secretN2 | nodes |
nodo | Nodo Wifi |
I want to process some clients through one virtual server (server nodes{}),
so I have the name of the virtual server in the "server" column, but this
doesn't work.
When I receive a request from those clients, the default server proccess
them.
I test to change the column name to virtual_server with same result.
I have to put the clients with value in "virtual_server" in clients.conf
file and the clients without value in nas table from MySQL.
I test to put them in server section:
##/etc/freeradius/sites-enabled/nodes
server nodes{
client nodo1{
}
...
}
but this doesn't work. I have to put them out of server section, like this:
##/etc/freeradius/sites-enabled/nodes
client nodo1{
}
server nodes{
...
}
and I think that this is the same that put them in clients files ¿?
Thank you very much and sorry for my english.
--
____________________
Ana Gallardo Gómez
____________________
2
2
Hello all again!
I have a problem which I and a friend here have been trying to solve for some days now.
It happens in both version 2.1.0 and 2.1.7 and has something to do with OpenSSL.
We have downloaded the source for both versions and installed OpenSSL, libssl-dev and libpq-dev which everyone on the "google-net" talks about.
We have modified "rules" and "control" in ~/FreeRadius-Server/debian/ so it should have support for OpenSSL, I will include the changes here:
Rules(instead of having "without" we changed to "with" for openssl, peap, tls & ttls)
ifeq ($(openssl), no)
confflags += --with-openssl --with-rlm_eap_peap --with-rlm_eap_tls --with-rlm_eap_ttls --without-rlm_otp
Control(Did not have to change or add anything but want to add these lines so you can see if there is any faulty lines here)
Build-Depends: debhelper (>= 5), dpatch (>= 2), dpkg-dev (>= 1.13.19), autotools-dev, libtool (>= 1.5), libltdl3-dev, libpam0g-dev, libmysqlclient15-dev | libmysqlclient-dev, libgdbm-dev, libldap2-dev, libsasl2-dev, libiodbc2-dev, libkrb5-dev, libperl-dev, libpcap-dev, python-dev, snmp, libsnmp9-dev | libsnmp-dev, libpq-dev, libssl-dev
After we have run in terminal "./configure" ; "make" & "sudo make install" and afterwards try to run radius with "radiusd -X" (same as freeradius -X if youre using freeradius installed through "Synaptic Package Manager").
So is there anything we have missed? We have been reading about that Freeradius do not include support for OpenSSL since the problem with license but we have also read that if you want to get OpenSSL support anyway you should do like we have done. Is there anyway to get around this problem or is everyone facing same problem as we do with these versions of FreeRadius? We have also read about another one using version 2.1.6 with same problem so i guess it is common for all versions from at least 2.1.0 and upwards?
Best Regards/ Peter Carlstedt
> From: freeradius-users-request(a)lists.freeradius.org
> Subject: Freeradius-Users Digest, Vol 55, Issue 32
> To: freeradius-users(a)lists.freeradius.org
> Date: Mon, 9 Nov 2009 15:30:11 +0100
>
> Send Freeradius-Users mailing list submissions to
> freeradius-users(a)lists.freeradius.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freeradius.org/mailman/listinfo/freeradius-users
> or, via email, send a message with subject or body 'help' to
> freeradius-users-request(a)lists.freeradius.org
>
> You can reach the person managing the list at
> freeradius-users-owner(a)lists.freeradius.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeradius-Users digest..."
>
>
> Today's Topics:
>
> 1. Re: WLAN - Freeradius - OpenLDAP - VLANs
> (Jos? Johnny RANDRIAMAMPIONONA)
> 2. Cannot upgade to 2.1.7 (kachin Agarwal)
> 3. Re: Cannot upgade to 2.1.7 (Alan Buxey)
> 4. Re: WLAN - Freeradius - OpenLDAP - VLANs (nf-vale)
> 5. Problem with server atribute in NAS table with mysql
> (Ana Gallardo)
> 6. Re: Problem with server atribute in NAS table with mysql
> (Alan Buxey)
> 7. Re: WLAN - Freeradius - OpenLDAP - VLANs (_Stefan_H)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 9 Nov 2009 12:25:13 +0000
> From: Jos? Johnny RANDRIAMAMPIONONA <vasiana09(a)gmail.com>
> Subject: Re: WLAN - Freeradius - OpenLDAP - VLANs
> To: FreeRadius users mailing list
> <freeradius-users(a)lists.freeradius.org>
> Message-ID:
> <d379502d0911090425p7e48137brc0d7a21e4aa3a279(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Freeradius work well with openldap but only with cleartext password (PAP).
> Best regards!
>
> 2009/11/9 _Stefan_H <stefanh007(a)networld.at>
>
> >
> > First I know my english is not the best, but i hope you will understand it.
> >
> > In the course of a project i have to make an authentification against a
> > freeradius server for the WLAN Users.
> > On the Server(OpenSUSE11.1) is a LDAP Directory and i want that the WLAN
> > Users have to authentificate with their accounts. After the successful
> > authentification they will be put into an other VLAN, that they can use
> > their homedirectories.
> >
> > I would like to know how I should do it, because i inform me about the
> > Authentification Types(EAP-TLS,TTLS,PEAP) and know I am totally confused
> > which i have to configure at the freeradius Server.
> >
> > I think that PEAP would be the easiest, but I really don't know which can
> > be
> > used whth a dynamic VLAN.
> >
> > http://old.nabble.com/file/p26230857/1.jpeg
> >
> > The AP is an Linksys WRT-54-GS
> > and the Switch is an CISCO-2950
> >
> >
> >
> > --
> > View this message in context:
> > http://old.nabble.com/WLAN----Freeradius----OpenLDAP----VLANs-tp26230857p26…
> > Sent from the FreeRadius - User mailing list archive at Nabble.com.
> >
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html
> >
>
>
>
> --
> JJohnny RANDRIAMAMPIONONA
> Phone: +212663682554, +212533158575
> National School of Applied Sciences
> ZIP 1818 TANGIER 90000
> ---------Morocco ---------------
>
3
2
> From: freeradius-users-request(a)lists.freeradius.org
> Subject: Freeradius-Users Digest, Vol 55, Issue 34
> To: freeradius-users(a)lists.freeradius.org
> Date: Mon, 9 Nov 2009 20:55:31 +0100
>
> Send Freeradius-Users mailing list submissions to
> freeradius-users(a)lists.freeradius.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.freeradius.org/mailman/listinfo/freeradius-users
> or, via email, send a message with subject or body 'help' to
> freeradius-users-request(a)lists.freeradius.org
>
> You can reach the person managing the list at
> freeradius-users-owner(a)lists.freeradius.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeradius-Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Freeradius-Users Digest, Vol 55, Issue 32 (Alan Buxey)
> 2. Cannot upgade to 2.1.7 (kachin Agarwal)
> 3. Re: Cannot upgade to 2.1.7 (Alan DeKok)
> 4. Re: Freeradius set up help (tnt(a)kalik.net)
> 5. LDAP and IPPool (David L Wolford)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 9 Nov 2009 15:55:13 +0000
> From: Alan Buxey <A.L.M.Buxey(a)lboro.ac.uk>
> Subject: Re: Freeradius-Users Digest, Vol 55, Issue 32
> To: FreeRadius users mailing list
> <freeradius-users(a)lists.freeradius.org>
> Message-ID: <20091109155513.GA30406(a)lboro.ac.uk>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> > I have a problem which I and a friend here have been trying to solve for some days now.
>
> it wasnt clear what the actual problem is that you are having - you seemed to miss
> out the problem - eg the output of radiusd -X
Hi Alan, sorry that i forgot the output from the terminal.
The output when i try to run using the command radiusd -X is:
FreeRADIUS Version 2.1.7, for host i686-pc-linux-gnu, built on Nov 6 2009 at 15:23:51
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/local/etc/raddb/radiusd.conf
Unable to open file "/usr/local/etc/raddb/radiusd.conf": Permission denied
Errors reading /usr/local/etc/raddb/radiusd.conf
peter@peter-desktop:~/Desktop/freeradius-server$ sudo radiusd -X
FreeRADIUS Version 2.1.7, for host i686-pc-linux-gnu, built on Nov 6 2009 at 15:23:51
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/local/etc/raddb/radiusd.conf
including configuration file /usr/local/etc/raddb/proxy.conf
including configuration file /usr/local/etc/raddb/clients.conf
including files in directory /usr/local/etc/raddb/modules/
including configuration file /usr/local/etc/raddb/modules/sql_log
including configuration file /usr/local/etc/raddb/modules/realm
including configuration file /usr/local/etc/raddb/modules/checkval
including configuration file /usr/local/etc/raddb/modules/expiration
including configuration file /usr/local/etc/raddb/modules/detail
including configuration file /usr/local/etc/raddb/modules/ippool
including configuration file /usr/local/etc/raddb/modules/smbpasswd
including configuration file /usr/local/etc/raddb/modules/policy
including configuration file /usr/local/etc/raddb/modules/detail.example.com
including configuration file /usr/local/etc/raddb/modules/passwd
including configuration file /usr/local/etc/raddb/modules/acct_unique
including configuration file /usr/local/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/etc/raddb/modules/wimax
including configuration file /usr/local/etc/raddb/modules/detail.log
including configuration file /usr/local/etc/raddb/modules/unix
including configuration file /usr/local/etc/raddb/modules/inner-eap
including configuration file /usr/local/etc/raddb/modules/mac2vlan
including configuration file /usr/local/etc/raddb/modules/files
including configuration file /usr/local/etc/raddb/modules/perl
including configuration file /usr/local/etc/raddb/modules/linelog
including configuration file /usr/local/etc/raddb/modules/ldap
including configuration file /usr/local/etc/raddb/modules/always
including configuration file /usr/local/etc/raddb/modules/chap
including configuration file /usr/local/etc/raddb/modules/sradutmp
including configuration file /usr/local/etc/raddb/modules/echo
including configuration file /usr/local/etc/raddb/modules/counter
including configuration file /usr/local/etc/raddb/modules/pam
including configuration file /usr/local/etc/raddb/modules/mac2ip
including configuration file /usr/local/etc/raddb/modules/preprocess
including configuration file /usr/local/etc/raddb/modules/digest
including configuration file /usr/local/etc/raddb/modules/exec
including configuration file /usr/local/etc/raddb/modules/otp
including configuration file /usr/local/etc/raddb/modules/attr_filter
including configuration file /usr/local/etc/raddb/modules/etc_group
including configuration file /usr/local/etc/raddb/modules/pap
including configuration file /usr/local/etc/raddb/modules/krb5
including configuration file /usr/local/etc/raddb/modules/mschap
including configuration file /usr/local/etc/raddb/modules/smsotp
including configuration file /usr/local/etc/raddb/modules/expr
including configuration file /usr/local/etc/raddb/modules/radutmp
including configuration file /usr/local/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/etc/raddb/modules/logintime
including configuration file /usr/local/etc/raddb/modules/cui
including configuration file /usr/local/etc/raddb/eap.conf
including configuration file /usr/local/etc/raddb/policy.conf
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/local/etc/raddb/sites-enabled/control-socket
including configuration file /usr/local/etc/raddb/sites-enabled/default
including dictionary file /usr/local/etc/raddb/dictionary
main {
prefix = "/usr/local"
localstatedir = "/usr/local/var"
logdir = "/usr/local/var/log/radius"
libdir = "/usr/local/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
allow_core_dumps = no
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = no
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
netmask = 32
require_message_authenticator = no
secret = "testing123"
shortname = "localhost"
nastype = "other"
}
Segmentation fault
peter@peter-desktop:~/Desktop/freeradius-server$
Best regards/ Peter
>
> alan
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 9 Nov 2009 22:13:03 +0530 (IST)
> From: kachin Agarwal <kach_gr8(a)yahoo.co.in>
> Subject: Cannot upgade to 2.1.7
> To: freeradius-users(a)lists.freeradius.org
> Message-ID: <677054.66183.qm(a)web94201.mail.in2.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
> Hi,
> ??? Ya i need the rlm_counter module. so how can i rectify it..? plz give me a solution..
>
> Thanks & Regards,
> Kachin
>
> --- On Mon, 9/11/09, kachin Agarwal <kach_gr8(a)yahoo.co.in> wrote:
>
> From: kachin Agarwal <kach_gr8(a)yahoo.co.in>
> Subject: Cannot upgade to 2.1.7
> To: freeradius-users(a)lists.freeradius.org
> Date: Monday, 9 November, 2009, 6:00 PM
>
> Hi,
> I m trying to upgrade the freeradius server to 2.1.7.
> But when i build i get the following error :
>
> configure: error: set --without-rlm_counter to disable it explicitly.
> configure: error: ./configure failed for src/modules/rlm_counter
> make: *** [*/*/*/*/*/*/*/radius/freeradius-server-2.1.7/src/main/radiusd] Error 1
>
> How can i rectify this???
>
> Thanx & Regards,
> Kachin
>
>
>
>
>
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
>
>
> The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
>
1
0
Hi,
Here is the complete build :
freeradius-server-2.1.7.tar.bz2
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf(a)gnu.org.
configure: WARNING: pcap library not found, silently disabling the RADIUS sniffer.
config.status: WARNING: ./Make.inc.in seems to ignore the --datarootdir setting
config.status: WARNING: ./src/include/build-radpaths-h.in seems to ignore the --datarootdir setting
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet. If you think this
configuration is useful to you, please write to autoconf(a)gnu.org.
configure: error: set --without-rlm_counter to disable it explicitly.
configure: error: ./configure failed for src/modules/rlm_counter
make: *** [/*/*/*/*/*//freeradius-server-2.1.7/src/main/radiusd] Error 1
if i remove this rlm_counter , it shows an error in rlm_eap_peap.
wat to do??
--- On Mon, 9/11/09, kachin Agarwal <kach_gr8(a)yahoo.co.in> wrote:
From: kachin Agarwal <kach_gr8(a)yahoo.co.in>
Subject: Cannot upgade to 2.1.7
To: freeradius-users(a)lists.freeradius.org
Date: Monday, 9 November, 2009, 10:13 PM
Hi,
Ya i need the rlm_counter module. so how can i rectify it..? plz give me a solution..
Thanks & Regards,
Kachin
--- On Mon, 9/11/09, kachin Agarwal <kach_gr8(a)yahoo.co.in> wrote:
From: kachin Agarwal <kach_gr8(a)yahoo.co.in>
Subject: Cannot upgade to 2.1.7
To: freeradius-users(a)lists.freeradius.org
Date: Monday, 9 November, 2009, 6:00 PM
Hi,
I m trying to upgrade
the freeradius server to 2.1.7.
But when i build i get the following error :
configure: error: set --without-rlm_counter to disable it explicitly.
configure: error: ./configure failed for src/modules/rlm_counter
make: *** [*/*/*/*/*/*/*/radius/freeradius-server-2.1.7/src/main/radiusd] Error 1
How can i rectify this???
Thanx & Regards,
Kachin
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
Connect more, do more and share more with Yahoo! India Mail. Learn more.
Connect more, do more and share more with Yahoo! India Mail. Learn more. http://in.overview.mail.yahoo.com/
2
1
Hi,
Ya i need the rlm_counter module. so how can i rectify it..? plz give me a solution..
Thanks & Regards,
Kachin
--- On Mon, 9/11/09, kachin Agarwal <kach_gr8(a)yahoo.co.in> wrote:
From: kachin Agarwal <kach_gr8(a)yahoo.co.in>
Subject: Cannot upgade to 2.1.7
To: freeradius-users(a)lists.freeradius.org
Date: Monday, 9 November, 2009, 6:00 PM
Hi,
I m trying to upgrade the freeradius server to 2.1.7.
But when i build i get the following error :
configure: error: set --without-rlm_counter to disable it explicitly.
configure: error: ./configure failed for src/modules/rlm_counter
make: *** [*/*/*/*/*/*/*/radius/freeradius-server-2.1.7/src/main/radiusd] Error 1
How can i rectify this???
Thanx & Regards,
Kachin
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage. http://in.yahoo.com/
3
2
Hy guys,
I'm using version 2.1.7. And I'm having trouble at building freeradius
from de source with pam module (rlm_pam). Here's what I'm doing:
# ./configure --with-modules=rlm_pam
# make
Then I get the following error, during the pam module compilation:
rlm_pam.c:123: warning: 'struct pam_response' declared inside
parameter list
rlm_pam.c:123: warning: its scope is only this definition or
declaration, which is probably not what you want
rlm_pam.c:123: warning: 'struct pam_message' declared inside parameter
list
rlm_pam.c: In function 'PAM_conv':
rlm_pam.c:131: error: invalid application of 'sizeof' to incomplete
type 'struct pam_response'
rlm_pam.c:132: error: invalid application of 'sizeof' to incomplete
type 'struct pam_response'
rlm_pam.c:134: error: dereferencing pointer to incomplete type
rlm_pam.c:135: error: 'PAM_PROMPT_ECHO_ON' undeclared (first use in
this function)
rlm_pam.c:135: error: (Each undeclared identifier is reported only
once
rlm_pam.c:135: error: for each function it appears in.)
rlm_pam.c:136: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:136: error: dereferencing pointer to incomplete type
rlm_pam.c:136: error: 'PAM_SUCCESS' undeclared (first use in this function)
rlm_pam.c:137: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:137: error: dereferencing pointer to incomplete type
rlm_pam.c:139: error: 'PAM_PROMPT_ECHO_OFF' undeclared (first use in
this function)
rlm_pam.c:140: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:140: error: dereferencing pointer to incomplete type
rlm_pam.c:141: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:141: error: dereferencing pointer to incomplete type
rlm_pam.c:143: error: 'PAM_TEXT_INFO' undeclared (first use in this function)
rlm_pam.c:146: error: 'PAM_ERROR_MSG' undeclared (first use in this function)
rlm_pam.c:150: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:150: error: dereferencing pointer to incomplete type
rlm_pam.c:152: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:152: error: dereferencing pointer to incomplete type
rlm_pam.c:152: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:152: error: dereferencing pointer to incomplete type
rlm_pam.c:153: error: invalid use of undefined type 'struct pam_response'
rlm_pam.c:153: error: dereferencing pointer to incomplete type
rlm_pam.c:158: error: 'PAM_CONV_ERR' undeclared (first use in this function)
Any ideas? Am I doing something wrong?
Thank you,
--
Chico Sokol
3
9
I am trying to authenticate users via Freeradius 2.1.7 against LDAP. I would like to use a checkItem to determine ippool assignment to give users an IP address from defined pools. The LDAP portion is working correctly but I receive the message "Could not find Pool-Name attribute" in my debug output (hence no IP address is assigned). What am I missing?
Thanks,
David Wolford
**************************
My user file is as follows:
Default Group-Name == Telecommunictations, Pool-Name := "Telecommunications"
Fall-Through = Yes
**************************
My ldap.attrmap is as follows:
checkItem radiusemployeedepartment uabemployeedepartment
**************************
My ippool is as follows:
ippool Telecommunications{
range-start = 10.0.0.1
range-stop = 10.0.0.10
netmask = 255.255.0.0
cache-size = 10
session-db = ${db_dir}/db.Telecommunications-session
ip-index = ${db_dir}/db.Telecommunications-index
override = yes
}
***************************
My debug output:
[root@localhost sbin]# ./radiusd -X
FreeRADIUS Version 2.1.7, for host i386-redhat-linux-gnu, built on Sep 18 2009 at 10:59:17
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/smbpasswd
including configuration file /etc/raddb/modules/inner-eap
including configuration file /etc/raddb/modules/otp
including configuration file /etc/raddb/modules/radutmp
including configuration file /etc/raddb/modules/mschap
including configuration file /etc/raddb/modules/mac2vlan
including configuration file /etc/raddb/modules/ippool
including configuration file /etc/raddb/modules/mac2ip
including configuration file /etc/raddb/modules/passwd
including configuration file /etc/raddb/modules/detail.example.com
including configuration file /etc/raddb/modules/preprocess
including configuration file /etc/raddb/modules/detail
including configuration file /etc/raddb/modules/sradutmp
including configuration file /etc/raddb/modules/logintime
including configuration file /etc/raddb/modules/echo
including configuration file /etc/raddb/modules/acct_unique
including configuration file /etc/raddb/modules/etc_group
including configuration file /etc/raddb/modules/detail.log
including configuration file /etc/raddb/modules/counter
including configuration file /etc/raddb/modules/unix
including configuration file /etc/raddb/modules/digest
including configuration file /etc/raddb/modules/wimax
including configuration file /etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /etc/raddb/modules/ldap
including configuration file /etc/raddb/modules/sql_log
including configuration file /etc/raddb/modules/attr_filter
including configuration file /etc/raddb/modules/expr
including configuration file /etc/raddb/modules/checkval
including configuration file /etc/raddb/modules/files
including configuration file /etc/raddb/modules/attr_rewrite
including configuration file /etc/raddb/modules/cui
including configuration file /etc/raddb/modules/perl
including configuration file /etc/raddb/modules/exec
including configuration file /etc/raddb/modules/smsotp
including configuration file /etc/raddb/modules/linelog
including configuration file /etc/raddb/modules/chap
including configuration file /etc/raddb/modules/policy
including configuration file /etc/raddb/modules/pap
including configuration file /etc/raddb/modules/pam
including configuration file /etc/raddb/modules/always
including configuration file /etc/raddb/modules/expiration
including configuration file /etc/raddb/modules/realm
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/control-socket
including configuration file /etc/raddb/sites-enabled/inner-tunnel
group = radiusd
user = radiusd
including dictionary file /etc/raddb/dictionary
main {
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
allow_core_dumps = no
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = no
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
nastype = "other"
}
client x.x.x.x {
require_message_authenticator = no
secret = "*********"
shortname = "ASA1"
}
client x.x.x.x {
require_message_authenticator = no
secret = "*********"
shortname = "ASA2"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating expr
Module: Linked to module rlm_expiration
Module: Instantiating expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating chap
Module: Linked to module rlm_mschap
Module: Instantiating mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_unix
Module: Instantiating unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Module: Linked to module rlm_ldap
Module: Instantiating ldap
ldap {
server = "my 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=some,dc=company"
filter = "(uid=%u)"
base_filter = "(objectclass=radiusprofile)"
auto_header = no
access_attr_used_for_allow = yes
groupname_attribute = "cn"
groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{control:Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{control:Ldap-UserDn})))"
dictionary_mapping = "/etc/raddb/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
set_auth_type = yes
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP uabemployeedepartment mapped to RADIUS radiusemployeedepartment
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: 0x9bb7a50
Module: Linked to module rlm_eap
Module: Instantiating eap
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 = "/etc/raddb/certs/server.pem"
certificate_file = "/etc/raddb/certs/server.pem"
CA_file = "/etc/raddb/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/etc/raddb/certs/dh"
random_file = "/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/raddb/certs/bootstrap"
cache {
enable = no
lifetime = 24
max_entries = 255
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_realm
Module: Instantiating suffix
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating files
files {
usersfile = "/etc/raddb/users"
acctusersfile = "/etc/raddb/acct_users"
preproxy_usersfile = "/etc/raddb/preproxy_users"
compat = "no"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
Module: Linked to module rlm_attr_filter
Module: Instantiating attr_filter.access_reject
attr_filter attr_filter.access_reject {
attrsfile = "/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
}
} # modules
} # server
server {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating preprocess
preprocess {
huntgroups = "/etc/raddb/huntgroups"
hints = "/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = 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 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 detail
detail {
detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_ippool
Module: Instantiating main_pool
ippool main_pool {
session-db = "/etc/raddb/db.ippool"
ip-index = "/etc/raddb/db.ipindex"
key = "%{NAS-IP-Address} %{NAS-Port}"
range-start = 192.168.1.1
range-stop = 192.168.3.254
netmask = 255.255.255.0
cache-size = 800
override = no
maximum-timeout = 0
}
Module: Instantiating Telecommunications
ippool Telecommunications {
session-db = "/etc/raddb/db.Telecommunications-session"
ip-index = "/etc/raddb/db.Telecommunications-index"
key = "%{NAS-IP-Address} %{NAS-Port}"
range-start = x.x.x.x
range-stop = x.x.x.x
netmask = 255.255.0.0
cache-size = 10
override = yes
maximum-timeout = 0
}
Module: Instantiating attr_filter.accounting_response
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
}
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
listen {
type = "control"
listen {
socket = "/var/run/radiusd/radiusd.sock"
}
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1 port 39140, id=250, length=60
User-Name = "dwo*****"
User-Password = "Ap*********"
NAS-IP-Address = 127.0.0.1
NAS-Port = 1812
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "dwo*****", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
++[unix] returns notfound
++[files] returns noop
[ldap] performing user authorization for dwo*****
[ldap] expand: (uid=%u) -> (uid=dwo*****)
[ldap] expand: dc=some,dc=company -> dc=some,dc=company
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to ldap.company:389, authentication 0
rlm_ldap: bind as / to ldap.company:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in dc=some,dc=company, with filter (uid=dwo*****)
[ldap] looking for check items in directory...
rlm_ldap: uabemployeedepartment -> radiusemployeedepartment == "Telecommunications"
[ldap] looking for reply items in directory...
WARNING: No "known good" password was found in LDAP. Are you sure that the user is configured correctly?
[ldap] Setting Auth-Type = LDAP
[ldap] user dwo***** authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
++[ldap] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.
++[pap] returns noop
Found Auth-Type = LDAP
+- entering group LDAP {...}
[ldap] login attempt by "dwo*****" with password "Ap*********"
[ldap] user DN: uid=dwo*****, ou=people, dc=some, dc=company
rlm_ldap: (re)connect to ldap.company:389, authentication 1
rlm_ldap: bind as uid=dwo*****, ou=people, dc=some, dc=company/Ap********* to ldap.company:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
[ldap] user dwo***** authenticated succesfully
++[ldap] returns ok
+- entering group post-auth {...}
[main_pool] Could not find Pool-Name attribute.
++[main_pool] returns noop
[Telecommunications] Could not find Pool-Name attribute.
++[Telecommunications] returns noop
++[exec] returns noop
Sending Access-Accept of id 250 to 127.0.0.1 port 39140
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
2
1
Hello i'm trying to setup Freeradius to do wireless authcation when I try to connect I get my peap certficte then it says "incorrect username or password" below is the debug output
"server-2:~ # radiusd -X
FreeRADIUS Version 2.1.6, for host i686-suse-linux-gnu, built on Aug 23 2009 at 13:12:28
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/modules/
including configuration file /etc/raddb/modules/pam
including configuration file /etc/raddb/modules/pap
including configuration file /etc/raddb/modules/otp
including configuration file /etc/raddb/modules/chap
including configuration file /etc/raddb/modules/echo
including configuration file /etc/raddb/modules/exec
including configuration file /etc/raddb/modules/expr
including configuration file /etc/raddb/modules/ldap
including configuration file /etc/raddb/modules/krb5
including configuration file /etc/raddb/modules/perl
including configuration file /etc/raddb/modules/unix
including configuration file /etc/raddb/modules/inner-eap
including configuration file /etc/raddb/modules/radutmp
including configuration file /etc/raddb/modules/counter
including configuration file /etc/raddb/modules/acct_unique
including configuration file /etc/raddb/modules/files
including configuration file /etc/raddb/modules/realm
including configuration file /etc/raddb/modules/wimax
including configuration file /etc/raddb/modules/mac2vlan
including configuration file /etc/raddb/modules/linelog
including configuration file /etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /etc/raddb/modules/detail.example.com
including configuration file /etc/raddb/modules/checkval
including configuration file /etc/raddb/modules/logintime
including configuration file /etc/raddb/modules/sql_log
including configuration file /etc/raddb/modules/sradutmp
including configuration file /etc/raddb/modules/always
including configuration file /etc/raddb/modules/attr_rewrite
including configuration file /etc/raddb/modules/detail
including configuration file /etc/raddb/modules/digest
including configuration file /etc/raddb/modules/ippool
including configuration file /etc/raddb/modules/mac2ip
including configuration file /etc/raddb/modules/mschap
including configuration file /etc/raddb/modules/smbpasswd
including configuration file /etc/raddb/modules/passwd
including configuration file /etc/raddb/modules/policy
including configuration file /etc/raddb/modules/smsotp
including configuration file /etc/raddb/modules/etc_group
including configuration file /etc/raddb/modules/preprocess
including configuration file /etc/raddb/modules/attr_filter
including configuration file /etc/raddb/modules/detail.log
including configuration file /etc/raddb/modules/expiration
including configuration file /etc/raddb/eap.conf
including configuration file /etc/raddb/policy.conf
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/inner-tunnel
including configuration file /etc/raddb/sites-enabled/control-socket
group = radiusd
user = radiusd
including dictionary file /etc/raddb/dictionary
main {
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
allow_core_dumps = no
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = no
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
nastype = "other"
}
client 192.168.2.10 {
require_message_authenticator = no
secret = "GOLDFLOOR59"
shortname = "server-3"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating expr
Module: Linked to module rlm_expiration
Module: Instantiating expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating chap
Module: Linked to module rlm_mschap
Module: Instantiating mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_unix
Module: Instantiating unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Module: Linked to module rlm_ldap
Module: Instantiating ldap
ldap {
server = "192.168.2.2"
port = 389
password = ""
identity = ""
net_timeout = 1
timeout = 4
timelimit = 3
tls_mode = no
start_tls = no
tls_require_cert = "allow"
tls {
start_tls = no
require_cert = "allow"
}
basedn = "o=missouri"
filter = "(uid=%{Stripped-User-Name:-%{User-Name}})"
base_filter = "(objectclass=radiusprofile)"
auto_header = no
access_attr_used_for_allow = yes
groupname_attribute = "cn"
groupmembership_filter = "(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
dictionary_mapping = "/etc/raddb/ldap.attrmap"
ldap_debug = 0
ldap_connections_number = 5
compare_check_items = no
do_xlat = yes
edir_account_policy_check = yes
set_auth_type = yes
}
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS Tunnel-Private-Group-Id
conns: 0x8012bde8
Module: Linked to module rlm_eap
Module: Instantiating eap
eap {
default_eap_type = "peap"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 2048
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
pem_file_type = yes
private_key_file = "/etc/raddb/certs/server.pem"
certificate_file = "/etc/raddb/certs/server.pem"
CA_file = "/etc/raddb/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/etc/raddb/certs/dh"
random_file = "/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/raddb/certs/bootstrap"
cache {
enable = no
lifetime = 24
max_entries = 255
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_files
Module: Instantiating files
files {
usersfile = "/etc/raddb/users"
acctusersfile = "/etc/raddb/acct_users"
preproxy_usersfile = "/etc/raddb/preproxy_users"
compat = "no"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
server {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating preprocess
preprocess {
huntgroups = "/etc/raddb/huntgroups"
hints = "/etc/raddb/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = yes
with_specialix_jetstream_hack = yes
with_cisco_vsa_hack = yes
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_detail
Module: Instantiating auth_log
detail auth_log {
detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Instantiating detail
detail {
detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_attr_filter
Module: Instantiating attr_filter.accounting_response
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
}
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
listen {
type = "control"
listen {
socket = "/var/run/radiusd/radiusd.sock"
}
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /var/run/radiusd/radiusd.sock
Listening on proxy address * port 1814
Ready to process requests.
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026800061900
State = 0x429a5d9e43f244a30737a576f1e037cd
Message-Authenticator = 0x2fddee544720bc9603a27abda34ea567
Proxy-State = 0x17000000000000000000000000000000000000a9
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 104 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 62 to 192.168.2.10 port 54677
EAP-Message = 0x016903fc1940008220f3197ef3229f300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3039313130393031333234375a170d3130313130393031333234375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504
EAP-Message = 0x071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100bc5dea9d9dfe50287980e118711818af75c060347cdef56dba6f36781a047f714522523cb502d4028bc984cedd7e90bccf939ccd505f8658677908959ca4f79e0724193fd4bfa1d4791394ed274f59687ab5804f6eee3542670c316885e74b5e57a5590d4040548b6299390504e2e5
EAP-Message = 0xef35b6535792d947d7248c31d833598b9a8f048ce4ed761f25cebacb608f4b45e874469cadfbdf9ed806d4757b3db4a30ebc7d12caf02bddf244a295165f0157a4d4b74fc2f6f4e86d751502a887dbfeaff122d93b4fe86fbc1e9649e5213e925dceb819d2d3b4fed669c5ca1339ea8bc5b54a08135ca99fdc18dfa502325d9a5bb607d710c06bd5a27db61b72f632412b0203010001a381fb3081f8301d0603551d0e04160414d36f2b7b4231f3f461cf8884051c1bde5be686e83081c80603551d230481c03081bd8014d36f2b7b4231f3f461cf8884051c1bde5be686e8a18199a48196308193310b3009060355040613024652310f300d06035504
EAP-Message = 0x0813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f726974798209008220f3197ef3229f300c0603551d13040530030101ff300d06092a864886f70d010105050003820101002a2b2e1c7528af648f4be82f8dcfd57aecb057b7078496d67d0e53cdc50682c79c36cce370c60402689cff2bc1bceb819d3de80a45349ee0440ed1b615d357e5bd9d0b25339c1b709577edcefac87d6f93d1
EAP-Message = 0x933266c9fa5276b0
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e40f344a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000a9
Finished request 2.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=63, length=197
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026900061900
State = 0x429a5d9e40f344a30737a576f1e037cd
Message-Authenticator = 0xd74a66cf93533df7e1774afbdeeb1109
Proxy-State = 0x17000000000000000000000000000000000000aa
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 105 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 63 to 192.168.2.10 port 54677
EAP-Message = 0x016a00b51900938cc483d19aef1a6e2c0c55d9932855ec702d2f94c42d19bef2a3bb8388d1284ca9fac7591f05cb6b486584d8e79b34dcef4e348c8e491d314de8102c34388d92fabe1ee7351492a3645a9518d14f29eb05b02f7acb2284ce94b892fdd40e1b9c0ed8961d0a59705523fb531b172fc2861cb5c81e83e88bbd61332fb3fcc387ce06efce7721b19588e1e986126c4c57d09453724cd201737ef92c3c651c377f2b6a7340678e16030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e41f044a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000aa
Finished request 3.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=64, length=529
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026a01501980000001461603010106100001020100ca05ac504ca1fda191207a9b362a8182d0bd2979ab5c16e170fd1adb8909020aa0bdac225c884927a3e39aa9a3b021a5957f8cc7fc2d61689f683e8c82d49c3b507b523a9838da3318e7519e29d0d87b3f0fbd845f4b665f406a8df48ba2bbfbc5a9ff75579a3786542e04591d2112d47f92defe206dabad81fab2467922cb3700c677a0b8157f8648cef18d0170fa23ed560e11e613f4f06577e8d8073253ef104520da2c9237270a4635b225f7e1f192f7bec606afd0b26e99d454f65538f252eff27a7716458bfa8d33adb1847385136b476b281661b599a064fa785825ff00769d8289e2dee2
EAP-Message = 0xf2cc4847166169431af6005ea442b12492e3e7340ac2a4f614030100010116030100301467ad16451cc0983619cf2e02cdb7e06c9d7db6d61bb16394bc849c6532a8559c93ae097cc47c847a633eda548c61d9
State = 0x429a5d9e41f044a30737a576f1e037cd
Message-Authenticator = 0x63f735c4ecf5083a3b5aa49510895858
Proxy-State = 0x17000000000000000000000000000000000000ab
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 106 length 253
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 326
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange
[peap] TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap] TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 write finished A
[peap] TLS_accept: SSLv3 flush data
[peap] (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 64 to 192.168.2.10 port 54677
EAP-Message = 0x016b004119001403010001011603010030c87ba1fe539bc22de7d189d36a6dcc3875b66643554a7db83059180d58e38263df5d9fb2fd407c540fc170d48edcab4f
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e46f144a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ab
Finished request 4.
Going to the next request
Waking up in 4.5 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=65, length=197
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026b00061900
State = 0x429a5d9e46f144a30737a576f1e037cd
Message-Authenticator = 0x5bca81fc04871777f906a4ff206a4f85
Proxy-State = 0x17000000000000000000000000000000000000ac
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 107 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
++[eap] returns handled
Sending Access-Challenge of id 65 to 192.168.2.10 port 54677
EAP-Message = 0x016c002b19001703010020a68c9fd7f9fdaaa97717a3b43011b65816f502d53089ec383c2578cd41aa82ad
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e47f644a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ac
Finished request 5.
Going to the next request
Waking up in 4.4 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=66, length=234
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026c002b190017030100208663696cf36a73709ba8852c57adcaf63f8056ae5246b106cb655207aea2cc78
State = 0x429a5d9e47f644a30737a576f1e037cd
Message-Authenticator = 0x3e3c41d583f535bc8a21f2c306355dfb
Proxy-State = 0x17000000000000000000000000000000000000ad
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 108 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Identity - ghorchem
[peap] Got tunneled request
EAP-Message = 0x026c000d0167686f726368656d
server {
PEAP: Got tunneled identity of ghorchem
PEAP: Setting default EAP type for tunneled EAP session.
PEAP: Setting User-Name to ghorchem
Sending tunneled request
EAP-Message = 0x026c000d0167686f726368656d
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "ghorchem"
server inner-tunnel {
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
++[unix] returns notfound
++[control] returns notfound
[eap] EAP packet type response id 108 length 13
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
EAP-Message = 0x016d00221a016d001d107b27d927d6f50d1a455b37505f7414ec67686f726368656d
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x43799be8431481df5add6c139b49de38
[peap] Got tunneled reply RADIUS code 11
EAP-Message = 0x016d00221a016d001d107b27d927d6f50d1a455b37505f7414ec67686f726368656d
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x43799be8431481df5add6c139b49de38
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 66 to 192.168.2.10 port 54677
EAP-Message = 0x016d004b190017030100402d36c7aabf9a73c44093b38938db7af6eb82e9699c9231e1dc831dae5d3bc90cf9deebd8a7847d72df98d495dc97a99cd7b235234c6ba2096b42a707ce5ed006
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e44f744a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ad
Finished request 6.
Going to the next request
Waking up in 4.4 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=67, length=298
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026d006b19001703010060db73084d86d12f59ff9c2278eeaa0786cecd28c5040f6c099e55007b2307e6823e3669026d82b0d79b7abacacf9712fa9535f65cf3d1e926788c43f819fd7e1911903ee7aa5efbe1307b3e50ab58e8db22dda8740132a9dd2e0468f3909371a2
State = 0x429a5d9e44f744a30737a576f1e037cd
Message-Authenticator = 0xa5f744f39c7a6ff9e416607b8f75c55c
Proxy-State = 0x17000000000000000000000000000000000000ae
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 109 length 107
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message = 0x026d00431a026d003e318edc00abca487b9d1c1fc5f5ef39587100000000000000009d933d64f973468e5934a624886146917317a8747e8a5cc00067686f726368656d
server {
PEAP: Setting User-Name to ghorchem
Sending tunneled request
EAP-Message = 0x026d00431a026d003e318edc00abca487b9d1c1fc5f5ef39587100000000000000009d933d64f973468e5934a624886146917317a8747e8a5cc00067686f726368656d
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "ghorchem"
State = 0x43799be8431481df5add6c139b49de38
server inner-tunnel {
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
++[unix] returns notfound
++[control] returns notfound
[eap] EAP packet type response id 109 length 67
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[files] returns noop
++[expiration] returns noop
++[logintime] returns noop
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] +- entering group MS-CHAP {...}
[mschap] No Cleartext-Password configured. Cannot create LM-Password.
[mschap] No Cleartext-Password configured. Cannot create NT-Password.
[mschap] Told to do MS-CHAPv2 for ghorchem with NT-Password
[mschap] FAILED: No NT/LM-Password. Cannot perform authentication.
[mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject
[eap] Freeing handler
++[eap] returns reject
Failed to authenticate the user.
} # server inner-tunnel
[peap] Got tunneled reply code 3
MS-CHAP-Error = "mE=691 R=1"
EAP-Message = 0x046d0004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Got tunneled reply RADIUS code 3
MS-CHAP-Error = "mE=691 R=1"
EAP-Message = 0x046d0004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Tunneled authentication was rejected.
[peap] FAILURE
++[eap] returns handled
Sending Access-Challenge of id 67 to 192.168.2.10 port 54677
EAP-Message = 0x016e002b190017030100207b10b09a431fb9e35fea47693577445e773cea31dd39c750238116d6b7aafdf1
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x429a5d9e45f444a30737a576f1e037cd
Proxy-State = 0x17000000000000000000000000000000000000ae
Finished request 7.
Going to the next request
Waking up in 4.3 seconds.
rad_recv: Access-Request packet from host 192.168.2.10 port 54677, id=68, length=234
User-Name = "ghorchem"
NAS-IP-Address = 192.168.2.116
NAS-Port = 0
Called-Station-Id = "00-23-12-F9-02-33:Gary Horchem bgn"
Calling-Station-Id = "00-23-6C-32-F6-E6"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x026e002b19001703010020e70bff42576e2c44e2dba27664c8320c94ce36af9043ec70df22b1e174af5610
State = 0x429a5d9e45f444a30737a576f1e037cd
Message-Authenticator = 0x947614732345e5edabe5e6a4725127cb
Proxy-State = 0x17000000000000000000000000000000000000af
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d -> /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to /var/log/radius/radacct/192.168.2.10/auth-detail-20091108
[auth_log] expand: %t -> Sun Nov 8 21:18:24 2009
++[auth_log] returns ok
++[chap] returns noop
++[mschap] returns noop
[eap] EAP packet type response id 110 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Received EAP-TLV response.
[peap] Had sent TLV failure. User was rejected earlier in this session.
[eap] Handler failed in EAP/peap
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
++[ldap] returns noop
Delaying reject of request 8 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 8
Sending Access-Reject of id 68 to 192.168.2.10 port 54677
EAP-Message = 0x046e0004
Message-Authenticator = 0x00000000000000000000000000000000
Proxy-State = 0x17000000000000000000000000000000000000af
Waking up in 3.3 seconds.
Cleaning up request 0 ID 60 with timestamp +85
Waking up in 0.1 seconds.
Cleaning up request 1 ID 61 with timestamp +86
Cleaning up request 2 ID 62 with timestamp +86
Cleaning up request 3 ID 63 with timestamp +86
Waking up in 0.2 seconds.
Cleaning up request 4 ID 64 with timestamp +86
Cleaning up request 5 ID 65 with timestamp +86
Cleaning up request 6 ID 66 with timestamp +86
Cleaning up request 7 ID 67 with timestamp +86
Waking up in 1.0 seconds.
Cleaning up request 8 ID 68 with timestamp +86
Ready to process requests."
Using Novell Edirectory 8.8.5 as the LDAP back end please help thanks
2
1