Installed freeradius v 3.0.11 as shown here: http://wiki.freeradius.org/building/Build No problem. Can execute #radtest bob hello localhost 0 testing123, on both the freeradus server and the NAS (With the right IP) Following this: http://deployingradius.com/documents/configuration/eap.html I get this response: .... (133) eap: Peer sent packet with method EAP MSCHAPv2 (26) (133) eap: Calling submodule eap_mschapv2 to process data (133) eap_mschapv2: # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (133) eap_mschapv2: Auth-Type MS-CHAP { (133) mschap: WARNING: No Cleartext-Password configured. Cannot create NT-Password (133) mschap: WARNING: No Cleartext-Password configured. Cannot create LM-Password (133) mschap: Creating challenge hash with username: bob (133) mschap: Client is using MS-CHAPv2 (133) mschap: ERROR: FAILED: No NT/LM-Password. Cannot perform authentication (133) mschap: ERROR: MS-CHAP2-Response is incorrect (133) [mschap] = reject (133) } # Auth-Type MS-CHAP = reject (133) eap: Sending EAP Failure (code 4) ID 24 length 4 (133) eap: Freeing handler .... What does it mean? -- ------------------------------------------- Med venlig hilsen / Yours Sincerly Henrik Kressner
On Jul 1, 2016, at 5:02 AM, Henrik Kressner <kressner@synkro.dk> wrote:
I get this response: .... (133) eap: Peer sent packet with method EAP MSCHAPv2 (26) (133) eap: Calling submodule eap_mschapv2 to process data (133) eap_mschapv2: # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (133) eap_mschapv2: Auth-Type MS-CHAP { (133) mschap: WARNING: No Cleartext-Password configured. Cannot create NT-Password (133) mschap: WARNING: No Cleartext-Password configured. Cannot create LM-Password (133) mschap: Creating challenge hash with username: bob (133) mschap: Client is using MS-CHAPv2 (133) mschap: ERROR: FAILED: No NT/LM-Password. Cannot perform authentication (133) mschap: ERROR: MS-CHAP2-Response is incorrect (133) [mschap] = reject (133) } # Auth-Type MS-CHAP = reject (133) eap: Sending EAP Failure (code 4) ID 24 length 4 (133) eap: Freeing handler ....
What does it mean?
It means that the server can't authenticate the user, because it has no idea what the *good* password is for the user. As the message says, set Cleartext-Password. It will then work. Alan DeKok.
On 01-07-2016 13:57, Alan DeKok wrote:
On Jul 1, 2016, at 5:02 AM, Henrik Kressner <kressner@synkro.dk> wrote:
I get this response: .... (133) eap: Peer sent packet with method EAP MSCHAPv2 (26) (133) eap: Calling submodule eap_mschapv2 to process data (133) eap_mschapv2: # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (133) eap_mschapv2: Auth-Type MS-CHAP { (133) mschap: WARNING: No Cleartext-Password configured. Cannot create NT-Password (133) mschap: WARNING: No Cleartext-Password configured. Cannot create LM-Password (133) mschap: Creating challenge hash with username: bob (133) mschap: Client is using MS-CHAPv2 (133) mschap: ERROR: FAILED: No NT/LM-Password. Cannot perform authentication (133) mschap: ERROR: MS-CHAP2-Response is incorrect (133) [mschap] = reject (133) } # Auth-Type MS-CHAP = reject (133) eap: Sending EAP Failure (code 4) ID 24 length 4 (133) eap: Freeing handler ....
What does it mean? It means that the server can't authenticate the user, because it has no idea what the *good* password is for the user.
As the message says, set Cleartext-Password. It will then work.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I believe I did just that in the file: /usr/local/etc/raddb/users # The canonical testing user which is in most of the # examples. # bob Cleartext-Password := "hello" Reply-Message := "Hello, %{User-Name}" # And it works both on the server and on the NAS with radtest ? -- ------------------------------------------- Med venlig hilsen / Yours Sincerly Henrik Kressner kressner@synkro.dk Ingeniørfirmaet Synkro / Synkro Engineering Vædevej 64 5462 Morud http://www.synkro.dk Direkte 40 37 40 87
On Jul 1, 2016, at 8:08 AM, Henrik Kressner <kressner@synkro.dk> wrote:
I believe I did just that in the file: /usr/local/etc/raddb/users
Is that the right file to edit? Maybe you've installed multiple versions of the server. And did you add the sample entry to the TOP of the "users" file? And did you READ the debug output? It shows which entry in the "users" file was matched. Did you CHECK that it matched the entry you want it to match?
And it works both on the server and on the NAS with radtest ?
Then you probably edited the default configuration and broke it. Don't do that. Honestly, all of the information you need to solve this problem is in front of you. All you need to do is READ the debug output. Alan DeKok.
On 01-07-2016 14:12, Alan DeKok wrote:
On Jul 1, 2016, at 8:08 AM, Henrik Kressner <kressner@synkro.dk> wrote:
I believe I did just that in the file: /usr/local/etc/raddb/users Is that the right file to edit? Maybe you've installed multiple versions of the server.
Not at the same time. I cleaned totally before I installed from source.
And did you add the sample entry to the TOP of the "users" file?
No, I followed the comments in the users file, and removed the # as I showed. Now I commentet it out again, and put it in the top of the user file, no change. The user file is now exactly as when it came. Thanks to Buxey, yes, I did restart.
And did you READ the debug output? It shows which entry in the "users" file was matched. Did you CHECK that it matched the entry you want it to match?
What do you mean by entry, I can't find an explanaition, but the term is used a lot. Is this a entry ? (53) server inner-tunnel
And it works both on the server and on the NAS with radtest ? Then you probably edited the default configuration and broke it. Don't do that.
I did'nt do anything that was not explecitly describes in the howto: BUT the howto and the comments in the files, are not all in consensus with each other.
Honestly, all of the information you need to solve this problem is in front of you. All you need to do is READ the debug output.
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I just read 4 RFC's, and a lot of files, but I dont understand, thats why I ask. What does NT/LM-Password mean, and why does it tell me: (53) mschap: WARNING: No Cleartext-Password configured. Cannot create NT-Password (53) mschap: WARNING: No Cleartext-Password configured. Cannot create LM-Password when the top of the users file say: bob Cleartext-Password := "hello" # # Configuration file for the rlm_files module. # Please see rlm_files(5) manpage for more information. # As far as I can see, i tryed following the official howto, then I tryed to follow the hints in the files, then I read this: https://www.ossramblings.com/RADIUS-3.X-Server-on-Ubuntu-14.04-for-WIFI-Auth There where some usefull info: " The "myserverkeypassword" above will need to match the password you use when generating the server's keys later." Then i deletet the old installation totally, read it all once again, followed the howto, then the fileinfo. And of course, I got good help from this list, but now I am stuck. -- ------------------------------------------- Med venlig hilsen / Yours Sincerly Henrik Kressner
On Jul 1, 2016, at 8:53 AM, Henrik Kressner <kressner@synkro.dk> wrote:
Not at the same time. I cleaned totally before I installed from source.
That's good.
No, I followed the comments in the users file, and removed the # as I showed.
Except that the server doesn't ship with an example "bob" in the "users" file. Which version are you using?
Now I commentet it out again, and put it in the top of the user file, no change.
It works for everyone else...
And did you READ the debug output? It shows which entry in the "users" file was matched. Did you CHECK that it matched the entry you want it to match?
What do you mean by entry, I can't find an explanaition, but the term is used a lot.
Read the debug output. Look for the word "entry". Look also for the "users". When the server looks at the "users" file, it says so right in the debug output. All you need to do is READ it.
Is this a entry ?
(53) server inner-tunnel
Does that look like it's matching something in the "users" file?
I did'nt do anything that was not explecitly describes in the hoot:
If I follow the FAQ, it works.
I just read 4 RFC's, and a lot of files, but I dont understand, thats why I ask.
Did I suggest reading the RFCs? No? Did I suggest reading the debug output? Yes?
What does NT/LM-Password mean, and why does it tell me:
(53) mschap: WARNING: No Cleartext-Password configured. Cannot create NT-Password (53) mschap: WARNING: No Cleartext-Password configured. Cannot create LM-Password
I told you why that message comes out.
when the top of the users file say:
bob Cleartext-Password := "hello"
I told you how to check if the server was using / reading the "users" file, and matching that.
As far as I can see, i tryed following the official howto, then I tryed to follow the hints in the files, then I read this: https://www.ossramblings.com/RADIUS-3.X-Server-on-Ubuntu-14.04-for-WIFI-Auth
Random third-party documentation is almost always wrong. Perhaps you should follow instructions on this list instead of reading random things on the net.
And of course, I got good help from this list, but now I am stuck.
Post the debug output here as suggested in the FAQ, "man" page, web pages, and daily on this list. I'll bet that the problem is simple, and is explained in the debug output. All that is required is for someone to read it. Alan DeKok.
On 01-07-2016 15:07, Alan DeKok wrote:
On Jul 1, 2016, at 8:53 AM, Henrik Kressner <kressner@synkro.dk> wrote:
Not at the same time. I cleaned totally before I installed from source. That's good.
No, I followed the comments in the users file, and removed the # as I showed. Except that the server doesn't ship with an example "bob" in the "users" file.
Which version are you using?
My does. # radiusd -v radiusd: FreeRADIUS Version 3.0.11, for host i586-pc-linux-gnu, built on Jun 30 2016 at 15:29:16 Copyright (C) 1999-2016 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 For more information about these matters, see the file named COPYRIGHT Line 90 in /usr/local/etc/raddb/users say: # bob Cleartext-Password := "hello" After I put bob Cleartext-Password := "hello" In top of the file, thats how I got the file. No I wil run another test and post the entire output, in another mail. I dont like posting so much to a list, but since you asked :) Comment: When I know how to backup configfiles for different test, and got several servers at my disposal for this issue. -- ------------------------------------------- Med venlig hilsen / Yours Sincerly Henrik Kressner
On Fri, Jul 01, 2016 at 02:53:59PM +0200, Henrik Kressner wrote:
And of course, I got good help from this list, but now I am stuck.
Please post *complete* output from "radiusd -X" to the list, right from the FreeRADIUS banner at the top down to including a test packet that does not work as expected. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On 01-07-2016 15:15, Matthew Newton wrote:
On Fri, Jul 01, 2016 at 02:53:59PM +0200, Henrik Kressner wrote:
And of course, I got good help from this list, but now I am stuck. Please post *complete* output from "radiusd -X" to the list, right from the FreeRADIUS banner at the top down to including a test packet that does not work as expected.
Matthew
Here it comes: root@voyage:/usr/local/etc/raddb# radiusd -X Server was built with: accounting : yes authentication : yes ascend-binary-attributes : yes coa : yes control-socket : yes detail : yes dhcp : yes dynamic-clients : yes osfc2 : no proxy : yes regex-pcre : no regex-posix : yes regex-posix-extended : yes session-management : yes stats : yes tcp : yes threads : yes tls : yes unlang : yes vmps : yes developer : no Server core libs: freeradius-server : 3.0.11 talloc : 2.0.* ssl : 1.0.1t release Endianness: little Compilation flags: cppflags : cflags : -I/root/freeradius-server-3.0.11 -I/root/freeradius-server-3.0.11/src -include /root/freeradius-server-3.0.11/src/freeradius-devel/autoconf.h -include /root/freeradius-server-3.0.11/src/freeradius-devel/build.h -include /root/freeradius-server-3.0.11/src/freeradius-devel/features.h -include /root/freeradius-server-3.0.11/src/freeradius-devel/radpaths.h -fno-strict-aliasing -g -O2 -Wall -std=c99 -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5 -DNDEBUG -DIS_MODULE=1 ldflags : libs : -lcrypto -lssl -ltalloc -lnsl -lresolv -ldl -lpthread Copyright (C) 1999-2016 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 For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/local/share/freeradius/dictionary including dictionary file /usr/local/share/freeradius/dictionary.dhcp including dictionary file /usr/local/share/freeradius/dictionary.vqp including dictionary file /usr/local/etc/raddb/dictionary 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/mods-enabled/ including configuration file /usr/local/etc/raddb/mods-enabled/always including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap including configuration file /usr/local/etc/raddb/mods-enabled/chap including configuration file /usr/local/etc/raddb/mods-enabled/detail including configuration file /usr/local/etc/raddb/mods-enabled/detail.log including configuration file /usr/local/etc/raddb/mods-enabled/digest including configuration file /usr/local/etc/raddb/mods-enabled/dhcp including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients including configuration file /usr/local/etc/raddb/mods-enabled/eap including configuration file /usr/local/etc/raddb/mods-enabled/echo including configuration file /usr/local/etc/raddb/mods-enabled/exec including configuration file /usr/local/etc/raddb/mods-enabled/expiration including configuration file /usr/local/etc/raddb/mods-enabled/expr including configuration file /usr/local/etc/raddb/mods-enabled/files including configuration file /usr/local/etc/raddb/mods-enabled/linelog including configuration file /usr/local/etc/raddb/mods-enabled/logintime including configuration file /usr/local/etc/raddb/mods-enabled/mschap including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth including configuration file /usr/local/etc/raddb/mods-enabled/pap including configuration file /usr/local/etc/raddb/mods-enabled/passwd including configuration file /usr/local/etc/raddb/mods-enabled/preprocess including configuration file /usr/local/etc/raddb/mods-enabled/radutmp including configuration file /usr/local/etc/raddb/mods-enabled/realm including configuration file /usr/local/etc/raddb/mods-enabled/replicate including configuration file /usr/local/etc/raddb/mods-enabled/soh including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp including configuration file /usr/local/etc/raddb/mods-enabled/unix including configuration file /usr/local/etc/raddb/mods-enabled/unpack including configuration file /usr/local/etc/raddb/mods-enabled/utf8 including files in directory /usr/local/etc/raddb/policy.d/ including configuration file /usr/local/etc/raddb/policy.d/abfab-tr including configuration file /usr/local/etc/raddb/policy.d/accounting including configuration file /usr/local/etc/raddb/policy.d/canonicalization including configuration file /usr/local/etc/raddb/policy.d/control including configuration file /usr/local/etc/raddb/policy.d/cui including configuration file /usr/local/etc/raddb/policy.d/debug including configuration file /usr/local/etc/raddb/policy.d/dhcp including configuration file /usr/local/etc/raddb/policy.d/eap including configuration file /usr/local/etc/raddb/policy.d/filter including configuration file /usr/local/etc/raddb/policy.d/operator-name including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } name = "radiusd" prefix = "/usr/local" localstatedir = "/usr/local/var" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" } main { name = "radiusd" prefix = "/usr/local" localstatedir = "/usr/local/var" sbindir = "/usr/local/sbin" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" libdir = "/usr/local/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 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 colourise = yes msg_denied = "You are already logged in - access denied" } resources { } security { max_attributes = 200 reject_delay = 1.000000 status_server = yes allow_vulnerable_openssl = "no" } } 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 = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client localhost { ipaddr = 127.0.0.1 require_message_authenticator = no secret = <<< secret >>> nas_type = "other" proto = "*" limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client localhost_ipv6 { ipv6addr = ::1 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } client tstAP { ipaddr = 192.168.1.60 require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } Debugger not attached # Creating Auth-Type = PAP # Creating Auth-Type = CHAP # Creating Auth-Type = MS-CHAP # Creating Auth-Type = digest # Creating Auth-Type = eap radiusd: #### Instantiating modules #### modules { # Loaded module rlm_always # Loading module "reject" from file /usr/local/etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /usr/local/etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /usr/local/etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /usr/local/etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /usr/local/etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /usr/local/etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_cache # Loading module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap cache cache_eap { driver = "rlm_cache_rbtree" key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 0 epoch = 0 add_stats = no } # Loaded module rlm_chap # Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap # Loaded module rlm_detail # Loading module "detail" from file /usr/local/etc/raddb/mods-enabled/detail detail { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_digest # Loading module "digest" from file /usr/local/etc/raddb/mods-enabled/digest # Loaded module rlm_dhcp # Loading module "dhcp" from file /usr/local/etc/raddb/mods-enabled/dhcp # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_exec # Loading module "echo" from file /usr/local/etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loading module "exec" from file /usr/local/etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Loading module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ" } # Loaded module rlm_files # Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files files { filename = "/usr/local/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_linelog # Loading module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog linelog { filename = "/usr/local/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Loading module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Loading module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Loading module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_preprocess # Loading module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups" hints = "/usr/local/etc/raddb/mods-config/preprocess/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 } # Loaded module rlm_radutmp # Loading module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Loading module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loading module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_unpack # Loading module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8 instantiate { } # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [/usr/local/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT". # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # Linked to sub-module rlm_eap_leap # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { verify_depth = 0 ca_path = "/usr/local/etc/raddb/certs" pem_file_type = yes private_key_file = "/usr/local/etc/raddb/certs/server.pem" certificate_file = "/usr/local/etc/raddb/certs/server.pem" ca_file = "/usr/local/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/usr/local/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes auto_chain = yes check_crl = no check_all_crl = no cipher_list = "DEFAULT" ecdh_curve = "prime256v1" cache { enable = yes lifetime = 24 max_entries = 255 } verify { skip_if_ocsp_ok = no } ocsp { enable = no override_cert_url = yes url = "http://127.0.0.1/ocsp/" use_nonce = yes timeout = 0 softfail = no } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_eap_type = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = no proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } tls: Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap # Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm } # modules radiusd: #### Loading Virtual Servers #### server { # from file /usr/local/etc/raddb/radiusd.conf } # server server default { # from file /usr/local/etc/raddb/sites-enabled/default # Loading authenticate {...} # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 58517 Listening on proxy address :: port 51784 Ready to process requests (0) Received Access-Request Id 83 from 192.168.1.60:35607 to 192.168.1.5:1812 length 186 (0) User-Name = "EUCNVS\\bob" (0) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (0) NAS-Port-Type = Wireless-802.11 (0) NAS-Port = 0 (0) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (0) Connect-Info = "CONNECT 0Mbps 802.11g" (0) Acct-Session-Id = "57764CB9-00000024" (0) WLAN-Pairwise-Cipher = 1027074 (0) WLAN-Group-Cipher = 1027074 (0) WLAN-AKM-Suite = 1027073 (0) Framed-MTU = 1400 (0) EAP-Message = 0x026a000f014555434e56535c626f62 (0) Message-Authenticator = 0xb7e5cc3408a26b116acd683547e9001a (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (0) authorize { (0) policy filter_username { (0) if (&User-Name) { (0) if (&User-Name) -> TRUE (0) if (&User-Name) { (0) if (&User-Name =~ / /) { (0) if (&User-Name =~ / /) -> FALSE (0) if (&User-Name =~ /@[^@]*@/ ) { (0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (0) if (&User-Name =~ /\.\./ ) { (0) if (&User-Name =~ /\.\./ ) -> FALSE (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (0) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (0) if (&User-Name =~ /\.$/) { (0) if (&User-Name =~ /\.$/) -> FALSE (0) if (&User-Name =~ /@\./) { (0) if (&User-Name =~ /@\./) -> FALSE (0) } # if (&User-Name) = notfound (0) } # policy filter_username = notfound (0) [preprocess] = ok (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 106 length 15 (0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (0) [eap] = ok (0) } # authorize = ok (0) Found Auth-Type = eap (0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_md5 to process data (0) eap_md5: Issuing MD5 Challenge (0) eap: Sending EAP Request (code 1) ID 107 length 22 (0) eap: EAP session adding &reply:State = 0xbb7681f3bb1d8571 (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) Post-Auth-Type sub-section not found. Ignoring. (0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (0) Sent Access-Challenge Id 83 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (0) EAP-Message = 0x016b00160410dd2cd9250e057a84397e7f0a91078535 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xbb7681f3bb1d8571ffb13fc3c1bb0fec (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 84 from 192.168.1.60:35607 to 192.168.1.5:1812 length 195 (1) User-Name = "EUCNVS\\bob" (1) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (1) NAS-Port-Type = Wireless-802.11 (1) NAS-Port = 0 (1) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (1) Connect-Info = "CONNECT 0Mbps 802.11g" (1) Acct-Session-Id = "57764CB9-00000024" (1) WLAN-Pairwise-Cipher = 1027074 (1) WLAN-Group-Cipher = 1027074 (1) WLAN-AKM-Suite = 1027073 (1) Framed-MTU = 1400 (1) EAP-Message = 0x026b00060319 (1) State = 0xbb7681f3bb1d8571ffb13fc3c1bb0fec (1) Message-Authenticator = 0x72c8814ff82f3ce02999cd285049664f (1) session-state: No cached attributes (1) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (1) authorize { (1) policy filter_username { (1) if (&User-Name) { (1) if (&User-Name) -> TRUE (1) if (&User-Name) { (1) if (&User-Name =~ / /) { (1) if (&User-Name =~ / /) -> FALSE (1) if (&User-Name =~ /@[^@]*@/ ) { (1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (1) if (&User-Name =~ /\.\./ ) { (1) if (&User-Name =~ /\.\./ ) -> FALSE (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (1) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (1) if (&User-Name =~ /\.$/) { (1) if (&User-Name =~ /\.$/) -> FALSE (1) if (&User-Name =~ /@\./) { (1) if (&User-Name =~ /@\./) -> FALSE (1) } # if (&User-Name) = notfound (1) } # policy filter_username = notfound (1) [preprocess] = ok (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 107 length 6 (1) eap: No EAP Start, assuming it's an on-going EAP conversation (1) [eap] = updated (1) [files] = noop (1) [expiration] = noop (1) [logintime] = noop (1) pap: WARNING: No "known good" password found for the user. Not setting Auth-Type (1) pap: WARNING: Authentication will fail unless a "known good" password is available (1) [pap] = noop (1) } # authorize = updated (1) Found Auth-Type = eap (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0xbb7681f3bb1d8571 (1) eap: Finished EAP session with state 0xbb7681f3bb1d8571 (1) eap: Previous EAP request found for state 0xbb7681f3bb1d8571, released from the list (1) eap: Peer sent packet with method EAP NAK (3) (1) eap: Found mutually acceptable type PEAP (25) (1) eap: Calling submodule eap_peap to process data (1) eap_peap: Initiating new EAP-TLS session (1) eap_peap: Flushing SSL sessions (of #0) (1) eap_peap: [eaptls start] = request (1) eap: Sending EAP Request (code 1) ID 108 length 6 (1) eap: EAP session adding &reply:State = 0xbb7681f3ba1a9871 (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) Post-Auth-Type sub-section not found. Ignoring. (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) Sent Access-Challenge Id 84 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (1) EAP-Message = 0x016c00061920 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xbb7681f3ba1a9871ffb13fc3c1bb0fec (1) Finished request Waking up in 4.9 seconds. (2) Received Access-Request Id 85 from 192.168.1.60:35607 to 192.168.1.5:1812 length 298 (2) User-Name = "EUCNVS\\bob" (2) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (2) NAS-Port-Type = Wireless-802.11 (2) NAS-Port = 0 (2) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (2) Connect-Info = "CONNECT 0Mbps 802.11g" (2) Acct-Session-Id = "57764CB9-00000024" (2) WLAN-Pairwise-Cipher = 1027074 (2) WLAN-Group-Cipher = 1027074 (2) WLAN-AKM-Suite = 1027073 (2) Framed-MTU = 1400 (2) EAP-Message = 0x026c006d198000000063160301005e0100005a03015776754d8f390ffe4b372f026026237ea7c2027ab5148e6246698a2898e9594d000018c014c0130035002fc00ac00900380032000a00130005000401000019000a0006000400170018000b0002010000170000ff01000100 (2) State = 0xbb7681f3ba1a9871ffb13fc3c1bb0fec (2) Message-Authenticator = 0x94c2b368efb47bd30c3e4043c8181580 (2) session-state: No cached attributes (2) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (2) authorize { (2) policy filter_username { (2) if (&User-Name) { (2) if (&User-Name) -> TRUE (2) if (&User-Name) { (2) if (&User-Name =~ / /) { (2) if (&User-Name =~ / /) -> FALSE (2) if (&User-Name =~ /@[^@]*@/ ) { (2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (2) if (&User-Name =~ /\.\./ ) { (2) if (&User-Name =~ /\.\./ ) -> FALSE (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (2) if (&User-Name =~ /\.$/) { (2) if (&User-Name =~ /\.$/) -> FALSE (2) if (&User-Name =~ /@\./) { (2) if (&User-Name =~ /@\./) -> FALSE (2) } # if (&User-Name) = notfound (2) } # policy filter_username = notfound (2) [preprocess] = ok (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix: Checking for suffix after "@" (2) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (2) suffix: No such realm "NULL" (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 108 length 109 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = eap (2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0xbb7681f3ba1a9871 (2) eap: Finished EAP session with state 0xbb7681f3ba1a9871 (2) eap: Previous EAP request found for state 0xbb7681f3ba1a9871, released from the list (2) eap: Peer sent packet with method EAP PEAP (25) (2) eap: Calling submodule eap_peap to process data (2) eap_peap: Continuing EAP-TLS (2) eap_peap: Peer indicated complete TLS record size will be 99 bytes (2) eap_peap: Got complete TLS record (99 bytes) (2) eap_peap: [eaptls verify] = length included (2) eap_peap: (other): before/accept initialization (2) eap_peap: TLS_accept: before/accept initialization (2) eap_peap: <<< recv TLS 1.0 Handshake [length 005e], ClientHello (2) eap_peap: TLS_accept: unknown state (2) eap_peap: >>> send TLS 1.0 Handshake [length 0059], ServerHello (2) eap_peap: TLS_accept: unknown state (2) eap_peap: >>> send TLS 1.0 Handshake [length 08d3], Certificate (2) eap_peap: TLS_accept: unknown state (2) eap_peap: >>> send TLS 1.0 Handshake [length 014b], ServerKeyExchange (2) eap_peap: TLS_accept: unknown state (2) eap_peap: >>> send TLS 1.0 Handshake [length 0004], ServerHelloDone (2) eap_peap: TLS_accept: unknown state (2) eap_peap: TLS_accept: unknown state (2) eap_peap: TLS_accept: Need to read more data: unknown state (2) eap_peap: TLS_accept: Need to read more data: unknown state (2) eap_peap: In SSL Handshake Phase (2) eap_peap: In SSL Accept mode (2) eap_peap: [eaptls process] = handled (2) eap: Sending EAP Request (code 1) ID 109 length 1004 (2) eap: EAP session adding &reply:State = 0xbb7681f3b91b9871 (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) Post-Auth-Type sub-section not found. Ignoring. (2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (2) Sent Access-Challenge Id 85 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (2) EAP-Message = 0x016d03ec19c000000a8f16030100590200005503013e845da38ed825219d4ab1b92f119a53ef40488661cddf14231ac3de042ce8da2049f56af27e12de69228cc2cbd8869d0fe2072e280963f47982a110fb63996680c01400000dff01000100000b00040300010216030108d30b0008cf0008cc0003de (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xbb7681f3b91b9871ffb13fc3c1bb0fec (2) Finished request Waking up in 4.6 seconds. (3) Received Access-Request Id 86 from 192.168.1.60:35607 to 192.168.1.5:1812 length 195 (3) User-Name = "EUCNVS\\bob" (3) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (3) NAS-Port-Type = Wireless-802.11 (3) NAS-Port = 0 (3) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (3) Connect-Info = "CONNECT 0Mbps 802.11g" (3) Acct-Session-Id = "57764CB9-00000024" (3) WLAN-Pairwise-Cipher = 1027074 (3) WLAN-Group-Cipher = 1027074 (3) WLAN-AKM-Suite = 1027073 (3) Framed-MTU = 1400 (3) EAP-Message = 0x026d00061900 (3) State = 0xbb7681f3b91b9871ffb13fc3c1bb0fec (3) Message-Authenticator = 0x3e204805be4bffc97113f820600d240c (3) session-state: No cached attributes (3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (3) authorize { (3) policy filter_username { (3) if (&User-Name) { (3) if (&User-Name) -> TRUE (3) if (&User-Name) { (3) if (&User-Name =~ / /) { (3) if (&User-Name =~ / /) -> FALSE (3) if (&User-Name =~ /@[^@]*@/ ) { (3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (3) if (&User-Name =~ /\.\./ ) { (3) if (&User-Name =~ /\.\./ ) -> FALSE (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (3) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (3) if (&User-Name =~ /\.$/) { (3) if (&User-Name =~ /\.$/) -> FALSE (3) if (&User-Name =~ /@\./) { (3) if (&User-Name =~ /@\./) -> FALSE (3) } # if (&User-Name) = notfound (3) } # policy filter_username = notfound (3) [preprocess] = ok (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 109 length 6 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = eap (3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0xbb7681f3b91b9871 (3) eap: Finished EAP session with state 0xbb7681f3b91b9871 (3) eap: Previous EAP request found for state 0xbb7681f3b91b9871, released from the list (3) eap: Peer sent packet with method EAP PEAP (25) (3) eap: Calling submodule eap_peap to process data (3) eap_peap: Continuing EAP-TLS (3) eap_peap: Peer ACKed our handshake fragment (3) eap_peap: [eaptls verify] = request (3) eap_peap: [eaptls process] = handled (3) eap: Sending EAP Request (code 1) ID 110 length 1000 (3) eap: EAP session adding &reply:State = 0xbb7681f3b8189871 (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) Post-Auth-Type sub-section not found. Ignoring. (3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (3) Sent Access-Challenge Id 86 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (3) EAP-Message = 0x016e03e81940a9fae45e91fdfa071e164b7681554514abb4d95fc494f1f6ee32feded29e2d4a7c63c65ea0b865c6724d9f77b3ae6e30730a7a4e0e887f046088c32e520ed7388dd79cc459f7489c6404a7f2db0aeffad7cdfe9e3b37ea7fb40de7592cd858e3895d09f9b93ee19fd30004e8308204e430 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xbb7681f3b8189871ffb13fc3c1bb0fec (3) Finished request Waking up in 4.6 seconds. (4) Received Access-Request Id 87 from 192.168.1.60:35607 to 192.168.1.5:1812 length 195 (4) User-Name = "EUCNVS\\bob" (4) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (4) NAS-Port-Type = Wireless-802.11 (4) NAS-Port = 0 (4) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (4) Connect-Info = "CONNECT 0Mbps 802.11g" (4) Acct-Session-Id = "57764CB9-00000024" (4) WLAN-Pairwise-Cipher = 1027074 (4) WLAN-Group-Cipher = 1027074 (4) WLAN-AKM-Suite = 1027073 (4) Framed-MTU = 1400 (4) EAP-Message = 0x026e00061900 (4) State = 0xbb7681f3b8189871ffb13fc3c1bb0fec (4) Message-Authenticator = 0x6e742fc5ef1bfc5e166a762dce774c2b (4) session-state: No cached attributes (4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (4) authorize { (4) policy filter_username { (4) if (&User-Name) { (4) if (&User-Name) -> TRUE (4) if (&User-Name) { (4) if (&User-Name =~ / /) { (4) if (&User-Name =~ / /) -> FALSE (4) if (&User-Name =~ /@[^@]*@/ ) { (4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (4) if (&User-Name =~ /\.\./ ) { (4) if (&User-Name =~ /\.\./ ) -> FALSE (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (4) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (4) if (&User-Name =~ /\.$/) { (4) if (&User-Name =~ /\.$/) -> FALSE (4) if (&User-Name =~ /@\./) { (4) if (&User-Name =~ /@\./) -> FALSE (4) } # if (&User-Name) = notfound (4) } # policy filter_username = notfound (4) [preprocess] = ok (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 110 length 6 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = eap (4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0xbb7681f3b8189871 (4) eap: Finished EAP session with state 0xbb7681f3b8189871 (4) eap: Previous EAP request found for state 0xbb7681f3b8189871, released from the list (4) eap: Peer sent packet with method EAP PEAP (25) (4) eap: Calling submodule eap_peap to process data (4) eap_peap: Continuing EAP-TLS (4) eap_peap: Peer ACKed our handshake fragment (4) eap_peap: [eaptls verify] = request (4) eap_peap: [eaptls process] = handled (4) eap: Sending EAP Request (code 1) ID 111 length 721 (4) eap: EAP session adding &reply:State = 0xbb7681f3bf199871 (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) Post-Auth-Type sub-section not found. Ignoring. (4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (4) Sent Access-Challenge Id 87 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (4) EAP-Message = 0x016f02d1190020417574686f726974798209009b8075033bf4d761300f0603551d130101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b050003820101 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xbb7681f3bf199871ffb13fc3c1bb0fec (4) Finished request Waking up in 4.5 seconds. (5) Received Access-Request Id 88 from 192.168.1.60:35607 to 192.168.1.5:1812 length 333 (5) User-Name = "EUCNVS\\bob" (5) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (5) NAS-Port-Type = Wireless-802.11 (5) NAS-Port = 0 (5) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (5) Connect-Info = "CONNECT 0Mbps 802.11g" (5) Acct-Session-Id = "57764CB9-00000024" (5) WLAN-Pairwise-Cipher = 1027074 (5) WLAN-Group-Cipher = 1027074 (5) WLAN-AKM-Suite = 1027073 (5) Framed-MTU = 1400 (5) EAP-Message = 0x026f00901980000000861603010046100000424104791696bd0fdb2d71635d629c96f478994f1e8d4a1bbe8c3bcc18c012dc76dff3c20462f171dd6c1007e1a1621f666fbff3b7d87ce20cba9b31fe7742722fe605140301000101160301003027f53e9384c020e36302de820185ec7f179295c8670652 (5) State = 0xbb7681f3bf199871ffb13fc3c1bb0fec (5) Message-Authenticator = 0x43f0af01b948e874fd5f80c23f534418 (5) session-state: No cached attributes (5) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (5) authorize { (5) policy filter_username { (5) if (&User-Name) { (5) if (&User-Name) -> TRUE (5) if (&User-Name) { (5) if (&User-Name =~ / /) { (5) if (&User-Name =~ / /) -> FALSE (5) if (&User-Name =~ /@[^@]*@/ ) { (5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (5) if (&User-Name =~ /\.\./ ) { (5) if (&User-Name =~ /\.\./ ) -> FALSE (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (5) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (5) if (&User-Name =~ /\.$/) { (5) if (&User-Name =~ /\.$/) -> FALSE (5) if (&User-Name =~ /@\./) { (5) if (&User-Name =~ /@\./) -> FALSE (5) } # if (&User-Name) = notfound (5) } # policy filter_username = notfound (5) [preprocess] = ok (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 111 length 144 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = eap (5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0xbb7681f3bf199871 (5) eap: Finished EAP session with state 0xbb7681f3bf199871 (5) eap: Previous EAP request found for state 0xbb7681f3bf199871, released from the list (5) eap: Peer sent packet with method EAP PEAP (25) (5) eap: Calling submodule eap_peap to process data (5) eap_peap: Continuing EAP-TLS (5) eap_peap: Peer indicated complete TLS record size will be 134 bytes (5) eap_peap: Got complete TLS record (134 bytes) (5) eap_peap: [eaptls verify] = length included (5) eap_peap: <<< recv TLS 1.0 Handshake [length 0046], ClientKeyExchange (5) eap_peap: TLS_accept: unknown state (5) eap_peap: TLS_accept: unknown state (5) eap_peap: <<< recv TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_peap: <<< recv TLS 1.0 Handshake [length 0010], Finished (5) eap_peap: TLS_accept: unknown state (5) eap_peap: >>> send TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_peap: TLS_accept: unknown state (5) eap_peap: >>> send TLS 1.0 Handshake [length 0010], Finished (5) eap_peap: TLS_accept: unknown state (5) eap_peap: TLS_accept: unknown state (5) eap_peap: (other): SSL negotiation finished successfully (5) eap_peap: SSL Connection Established (5) eap_peap: [eaptls process] = handled (5) eap: Sending EAP Request (code 1) ID 112 length 65 (5) eap: EAP session adding &reply:State = 0xbb7681f3be069871 (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) Post-Auth-Type sub-section not found. Ignoring. (5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (5) Sent Access-Challenge Id 88 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (5) EAP-Message = 0x017000411900140301000101160301003093ab7617ed0aee691f33308780846e33556a954da7175ecf67608e6b8258cc1640b06b31b4a23b1a57c9e57b4050fd7c (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xbb7681f3be069871ffb13fc3c1bb0fec (5) Finished request Waking up in 4.4 seconds. (6) Received Access-Request Id 89 from 192.168.1.60:35607 to 192.168.1.5:1812 length 195 (6) User-Name = "EUCNVS\\bob" (6) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (6) NAS-Port-Type = Wireless-802.11 (6) NAS-Port = 0 (6) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (6) Connect-Info = "CONNECT 0Mbps 802.11g" (6) Acct-Session-Id = "57764CB9-00000024" (6) WLAN-Pairwise-Cipher = 1027074 (6) WLAN-Group-Cipher = 1027074 (6) WLAN-AKM-Suite = 1027073 (6) Framed-MTU = 1400 (6) EAP-Message = 0x027000061900 (6) State = 0xbb7681f3be069871ffb13fc3c1bb0fec (6) Message-Authenticator = 0x1363e4c031c6acbc971e510fd6293060 (6) session-state: No cached attributes (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (6) authorize { (6) policy filter_username { (6) if (&User-Name) { (6) if (&User-Name) -> TRUE (6) if (&User-Name) { (6) if (&User-Name =~ / /) { (6) if (&User-Name =~ / /) -> FALSE (6) if (&User-Name =~ /@[^@]*@/ ) { (6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (6) if (&User-Name =~ /\.\./ ) { (6) if (&User-Name =~ /\.\./ ) -> FALSE (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (6) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (6) if (&User-Name =~ /\.$/) { (6) if (&User-Name =~ /\.$/) -> FALSE (6) if (&User-Name =~ /@\./) { (6) if (&User-Name =~ /@\./) -> FALSE (6) } # if (&User-Name) = notfound (6) } # policy filter_username = notfound (6) [preprocess] = ok (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 112 length 6 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = eap (6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0xbb7681f3be069871 (6) eap: Finished EAP session with state 0xbb7681f3be069871 (6) eap: Previous EAP request found for state 0xbb7681f3be069871, released from the list (6) eap: Peer sent packet with method EAP PEAP (25) (6) eap: Calling submodule eap_peap to process data (6) eap_peap: Continuing EAP-TLS (6) eap_peap: Peer ACKed our handshake fragment. handshake is finished (6) eap_peap: [eaptls verify] = success (6) eap_peap: [eaptls process] = success (6) eap_peap: Session established. Decoding tunneled attributes (6) eap_peap: PEAP state TUNNEL ESTABLISHED (6) eap: Sending EAP Request (code 1) ID 113 length 43 (6) eap: EAP session adding &reply:State = 0xbb7681f3bd079871 (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) Post-Auth-Type sub-section not found. Ignoring. (6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (6) Sent Access-Challenge Id 89 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (6) EAP-Message = 0x0171002b19001703010020b9b915d49b27698f6a3532f97bb5d6b17c50dee6e9ceccb32f7c50a13766764e (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xbb7681f3bd079871ffb13fc3c1bb0fec (6) Finished request Waking up in 4.4 seconds. (7) Received Access-Request Id 90 from 192.168.1.60:35607 to 192.168.1.5:1812 length 232 (7) User-Name = "EUCNVS\\bob" (7) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (7) NAS-Port-Type = Wireless-802.11 (7) NAS-Port = 0 (7) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (7) Connect-Info = "CONNECT 0Mbps 802.11g" (7) Acct-Session-Id = "57764CB9-00000024" (7) WLAN-Pairwise-Cipher = 1027074 (7) WLAN-Group-Cipher = 1027074 (7) WLAN-AKM-Suite = 1027073 (7) Framed-MTU = 1400 (7) EAP-Message = 0x0271002b19001703010020e2395bf60d47e27b777999894d6f08fef881912972eb2eb13b714b5dafe6c93b (7) State = 0xbb7681f3bd079871ffb13fc3c1bb0fec (7) Message-Authenticator = 0x87efd9d426cb7bfeb817696149482bd9 (7) session-state: No cached attributes (7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) [preprocess] = ok (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 113 length 43 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (7) authenticate { (7) eap: Expiring EAP session with state 0xbb7681f3bd079871 (7) eap: Finished EAP session with state 0xbb7681f3bd079871 (7) eap: Previous EAP request found for state 0xbb7681f3bd079871, released from the list (7) eap: Peer sent packet with method EAP PEAP (25) (7) eap: Calling submodule eap_peap to process data (7) eap_peap: Continuing EAP-TLS (7) eap_peap: [eaptls verify] = ok (7) eap_peap: Done initial handshake (7) eap_peap: [eaptls process] = ok (7) eap_peap: Session established. Decoding tunneled attributes (7) eap_peap: PEAP state WAITING FOR INNER IDENTITY (7) eap_peap: Identity - EUCNVS\bob (7) eap_peap: Got inner identity 'EUCNVS\bob' (7) eap_peap: Setting default EAP type for tunneled EAP session (7) eap_peap: Got tunneled request (7) eap_peap: EAP-Message = 0x0271000f014555434e56535c626f62 (7) eap_peap: Setting User-Name to EUCNVS\bob (7) eap_peap: Sending tunneled request to inner-tunnel (7) eap_peap: EAP-Message = 0x0271000f014555434e56535c626f62 (7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (7) eap_peap: User-Name = "EUCNVS\\bob" (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x0271000f014555434e56535c626f62 (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "EUCNVS\\bob" (7) WARNING: Outer and inner identities are the same. User privacy is compromised. (7) server inner-tunnel { (7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) policy filter_username { (7) if (&User-Name) { (7) if (&User-Name) -> TRUE (7) if (&User-Name) { (7) if (&User-Name =~ / /) { (7) if (&User-Name =~ / /) -> FALSE (7) if (&User-Name =~ /@[^@]*@/ ) { (7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (7) if (&User-Name =~ /\.\./ ) { (7) if (&User-Name =~ /\.\./ ) -> FALSE (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (7) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (7) if (&User-Name =~ /\.$/) { (7) if (&User-Name =~ /\.$/) -> FALSE (7) if (&User-Name =~ /@\./) { (7) if (&User-Name =~ /@\./) -> FALSE (7) } # if (&User-Name) = notfound (7) } # policy filter_username = notfound (7) [chap] = noop (7) [mschap] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) update control { (7) &Proxy-To-Realm := LOCAL (7) } # update control = noop (7) eap: Peer sent EAP Response (code 2) ID 113 length 15 (7) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = eap (7) # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Peer sent packet with method EAP Identity (1) (7) eap: Calling submodule eap_mschapv2 to process data (7) eap_mschapv2: Issuing Challenge (7) eap: Sending EAP Request (code 1) ID 114 length 43 (7) eap: EAP session adding &reply:State = 0x7c2bf3237c59e97d (7) [eap] = handled (7) } # authenticate = handled (7) } # server inner-tunnel (7) Virtual server sending reply (7) EAP-Message = 0x0172002b1a0172002610ab2c7e0caf18255ba4d82d80b6724921667265657261646975732d332e302e3131 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0x7c2bf3237c59e97d257f0149afd6e24c (7) eap_peap: Got tunneled reply code 11 (7) eap_peap: EAP-Message = 0x0172002b1a0172002610ab2c7e0caf18255ba4d82d80b6724921667265657261646975732d332e302e3131 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: State = 0x7c2bf3237c59e97d257f0149afd6e24c (7) eap_peap: Got tunneled reply RADIUS code 11 (7) eap_peap: EAP-Message = 0x0172002b1a0172002610ab2c7e0caf18255ba4d82d80b6724921667265657261646975732d332e302e3131 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: State = 0x7c2bf3237c59e97d257f0149afd6e24c (7) eap_peap: Got tunneled Access-Challenge (7) eap: Sending EAP Request (code 1) ID 114 length 75 (7) eap: EAP session adding &reply:State = 0xbb7681f3bc049871 (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) Post-Auth-Type sub-section not found. Ignoring. (7) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (7) Sent Access-Challenge Id 90 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (7) EAP-Message = 0x0172004b190017030100408f800d4ec87cf3cf58998454902f15c17eb6680eb7a9e17ecc0ebcb199a87536ac8d1a779524328623ee3eda0c000ec875fcd09ada62e09091634c7c99a78f9c (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0xbb7681f3bc049871ffb13fc3c1bb0fec (7) Finished request Waking up in 4.4 seconds. (8) Received Access-Request Id 91 from 192.168.1.60:35607 to 192.168.1.5:1812 length 296 (8) User-Name = "EUCNVS\\bob" (8) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (8) NAS-Port-Type = Wireless-802.11 (8) NAS-Port = 0 (8) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (8) Connect-Info = "CONNECT 0Mbps 802.11g" (8) Acct-Session-Id = "57764CB9-00000024" (8) WLAN-Pairwise-Cipher = 1027074 (8) WLAN-Group-Cipher = 1027074 (8) WLAN-AKM-Suite = 1027073 (8) Framed-MTU = 1400 (8) EAP-Message = 0x0272006b19001703010060d365eccc9a23486772cbea14fab68a31006eb63a948379aad5fd6570f1d99a4abb141b934b9bde8ff3999234e013d498e805e454b84d949d103bb1a2e88c8da37a40adeb21f5684e4be4427107408d6063761aabca66084fed98ef09e83f5293 (8) State = 0xbb7681f3bc049871ffb13fc3c1bb0fec (8) Message-Authenticator = 0x8183eff41d4e514091cf4b6c9df54828 (8) session-state: No cached attributes (8) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (8) authorize { (8) policy filter_username { (8) if (&User-Name) { (8) if (&User-Name) -> TRUE (8) if (&User-Name) { (8) if (&User-Name =~ / /) { (8) if (&User-Name =~ / /) -> FALSE (8) if (&User-Name =~ /@[^@]*@/ ) { (8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (8) if (&User-Name =~ /\.\./ ) { (8) if (&User-Name =~ /\.\./ ) -> FALSE (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (8) if (&User-Name =~ /\.$/) { (8) if (&User-Name =~ /\.$/) -> FALSE (8) if (&User-Name =~ /@\./) { (8) if (&User-Name =~ /@\./) -> FALSE (8) } # if (&User-Name) = notfound (8) } # policy filter_username = notfound (8) [preprocess] = ok (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 114 length 107 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = eap (8) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0x7c2bf3237c59e97d (8) eap: Finished EAP session with state 0xbb7681f3bc049871 (8) eap: Previous EAP request found for state 0xbb7681f3bc049871, released from the list (8) eap: Peer sent packet with method EAP PEAP (25) (8) eap: Calling submodule eap_peap to process data (8) eap_peap: Continuing EAP-TLS (8) eap_peap: [eaptls verify] = ok (8) eap_peap: Done initial handshake (8) eap_peap: [eaptls process] = ok (8) eap_peap: Session established. Decoding tunneled attributes (8) eap_peap: PEAP state phase2 (8) eap_peap: EAP method MSCHAPv2 (26) (8) eap_peap: Got tunneled request (8) eap_peap: EAP-Message = 0x027200451a0272004031d62c503eb90b16d5031e912bfc00ed0800000000000000001b7b6fad2215fe2943abc2a9e2562984e93aaf8c19a3de75004555434e56535c626f62 (8) eap_peap: Setting User-Name to EUCNVS\bob (8) eap_peap: Sending tunneled request to inner-tunnel (8) eap_peap: EAP-Message = 0x027200451a0272004031d62c503eb90b16d5031e912bfc00ed0800000000000000001b7b6fad2215fe2943abc2a9e2562984e93aaf8c19a3de75004555434e56535c626f62 (8) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (8) eap_peap: User-Name = "EUCNVS\\bob" (8) eap_peap: State = 0x7c2bf3237c59e97d257f0149afd6e24c (8) Virtual server inner-tunnel received request (8) EAP-Message = 0x027200451a0272004031d62c503eb90b16d5031e912bfc00ed0800000000000000001b7b6fad2215fe2943abc2a9e2562984e93aaf8c19a3de75004555434e56535c626f62 (8) FreeRADIUS-Proxied-To = 127.0.0.1 (8) User-Name = "EUCNVS\\bob" (8) State = 0x7c2bf3237c59e97d257f0149afd6e24c (8) WARNING: Outer and inner identities are the same. User privacy is compromised. (8) server inner-tunnel { (8) session-state: No cached attributes (8) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (8) authorize { (8) policy filter_username { (8) if (&User-Name) { (8) if (&User-Name) -> TRUE (8) if (&User-Name) { (8) if (&User-Name =~ / /) { (8) if (&User-Name =~ / /) -> FALSE (8) if (&User-Name =~ /@[^@]*@/ ) { (8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (8) if (&User-Name =~ /\.\./ ) { (8) if (&User-Name =~ /\.\./ ) -> FALSE (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (8) if (&User-Name =~ /\.$/) { (8) if (&User-Name =~ /\.$/) -> FALSE (8) if (&User-Name =~ /@\./) { (8) if (&User-Name =~ /@\./) -> FALSE (8) } # if (&User-Name) = notfound (8) } # policy filter_username = notfound (8) [chap] = noop (8) [mschap] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) update control { (8) &Proxy-To-Realm := LOCAL (8) } # update control = noop (8) eap: Peer sent EAP Response (code 2) ID 114 length 69 (8) eap: No EAP Start, assuming it's an on-going EAP conversation (8) [eap] = updated (8) [files] = noop (8) [expiration] = noop (8) [logintime] = noop (8) [pap] = noop (8) } # authorize = updated (8) Found Auth-Type = eap (8) # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (8) authenticate { (8) eap: Expiring EAP session with state 0x7c2bf3237c59e97d (8) eap: Finished EAP session with state 0x7c2bf3237c59e97d (8) eap: Previous EAP request found for state 0x7c2bf3237c59e97d, released from the list (8) eap: Peer sent packet with method EAP MSCHAPv2 (26) (8) eap: Calling submodule eap_mschapv2 to process data (8) eap_mschapv2: # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (8) eap_mschapv2: Auth-Type MS-CHAP { (8) mschap: WARNING: No Cleartext-Password configured. Cannot create NT-Password (8) mschap: WARNING: No Cleartext-Password configured. Cannot create LM-Password (8) mschap: Creating challenge hash with username: bob (8) mschap: Client is using MS-CHAPv2 (8) mschap: ERROR: FAILED: No NT/LM-Password. Cannot perform authentication (8) mschap: ERROR: MS-CHAP2-Response is incorrect (8) [mschap] = reject (8) } # Auth-Type MS-CHAP = reject (8) eap: Sending EAP Failure (code 4) ID 114 length 4 (8) eap: Freeing handler (8) [eap] = reject (8) } # authenticate = reject (8) Failed to authenticate the user (8) Using Post-Auth-Type Reject (8) # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (8) Post-Auth-Type REJECT { (8) attr_filter.access_reject: EXPAND %{User-Name} (8) attr_filter.access_reject: --> EUCNVS\\bob (8) attr_filter.access_reject: Matched entry DEFAULT at line 11 (8) [attr_filter.access_reject] = updated (8) update outer.session-state { (8) &Module-Failure-Message := &request:Module-Failure-Message -> 'mschap: FAILED: No NT/LM-Password. Cannot perform authentication' (8) } # update outer.session-state = noop (8) } # Post-Auth-Type REJECT = updated (8) } # server inner-tunnel (8) Virtual server sending reply (8) MS-CHAP-Error = "rE=691 R=1 C=246a015881f6ea66fb6bf663c8985d9d V=3 M=Authentication failed" (8) EAP-Message = 0x04720004 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) eap_peap: Got tunneled reply code 3 (8) eap_peap: MS-CHAP-Error = "rE=691 R=1 C=246a015881f6ea66fb6bf663c8985d9d V=3 M=Authentication failed" (8) eap_peap: EAP-Message = 0x04720004 (8) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (8) eap_peap: Got tunneled reply RADIUS code 3 (8) eap_peap: MS-CHAP-Error = "rE=691 R=1 C=246a015881f6ea66fb6bf663c8985d9d V=3 M=Authentication failed" (8) eap_peap: EAP-Message = 0x04720004 (8) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (8) eap_peap: Tunneled authentication was rejected (8) eap_peap: FAILURE (8) eap: Sending EAP Request (code 1) ID 115 length 43 (8) eap: EAP session adding &reply:State = 0xbb7681f3b3059871 (8) [eap] = handled (8) } # authenticate = handled (8) Using Post-Auth-Type Challenge (8) Post-Auth-Type sub-section not found. Ignoring. (8) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (8) session-state: Saving cached attributes (8) Module-Failure-Message := "mschap: FAILED: No NT/LM-Password. Cannot perform authentication" (8) Sent Access-Challenge Id 91 from 192.168.1.5:1812 to 192.168.1.60:35607 length 0 (8) EAP-Message = 0x0173002b19001703010020d5008ed66c7b89519bc0538c5fc32f26bb5f4a43b7dc42e555f98af3acbb5a87 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) State = 0xbb7681f3b3059871ffb13fc3c1bb0fec (8) Finished request Waking up in 4.3 seconds. (9) Received Access-Request Id 92 from 192.168.1.60:35607 to 192.168.1.5:1812 length 232 (9) User-Name = "EUCNVS\\bob" (9) Called-Station-Id = "B8-27-EB-DF-2D-08:T1" (9) NAS-Port-Type = Wireless-802.11 (9) NAS-Port = 0 (9) Calling-Station-Id = "5C-C5-D4-FC-D1-3B" (9) Connect-Info = "CONNECT 0Mbps 802.11g" (9) Acct-Session-Id = "57764CB9-00000024" (9) WLAN-Pairwise-Cipher = 1027074 (9) WLAN-Group-Cipher = 1027074 (9) WLAN-AKM-Suite = 1027073 (9) Framed-MTU = 1400 (9) EAP-Message = 0x0273002b190017030100204359ac9a7e1f21e1a5f083b4fabf5c45b40e8e9727ccb329466bd12d8c85c163 (9) State = 0xbb7681f3b3059871ffb13fc3c1bb0fec (9) Message-Authenticator = 0x8ed6171633fda58d3070ae0794d447ab (9) Restoring &session-state (9) &session-state:Module-Failure-Message := "mschap: FAILED: No NT/LM-Password. Cannot perform authentication" (9) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (9) authorize { (9) policy filter_username { (9) if (&User-Name) { (9) if (&User-Name) -> TRUE (9) if (&User-Name) { (9) if (&User-Name =~ / /) { (9) if (&User-Name =~ / /) -> FALSE (9) if (&User-Name =~ /@[^@]*@/ ) { (9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (9) if (&User-Name =~ /\.\./ ) { (9) if (&User-Name =~ /\.\./ ) -> FALSE (9) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (9) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (9) if (&User-Name =~ /\.$/) { (9) if (&User-Name =~ /\.$/) -> FALSE (9) if (&User-Name =~ /@\./) { (9) if (&User-Name =~ /@\./) -> FALSE (9) } # if (&User-Name) = notfound (9) } # policy filter_username = notfound (9) [preprocess] = ok (9) [chap] = noop (9) [mschap] = noop (9) [digest] = noop (9) suffix: Checking for suffix after "@" (9) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (9) suffix: No such realm "NULL" (9) [suffix] = noop (9) eap: Peer sent EAP Response (code 2) ID 115 length 43 (9) eap: Continuing tunnel setup (9) [eap] = ok (9) } # authorize = ok (9) Found Auth-Type = eap (9) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (9) authenticate { (9) eap: Expiring EAP session with state 0xbb7681f3b3059871 (9) eap: Finished EAP session with state 0xbb7681f3b3059871 (9) eap: Previous EAP request found for state 0xbb7681f3b3059871, released from the list (9) eap: Peer sent packet with method EAP PEAP (25) (9) eap: Calling submodule eap_peap to process data (9) eap_peap: Continuing EAP-TLS (9) eap_peap: [eaptls verify] = ok (9) eap_peap: Done initial handshake (9) eap_peap: [eaptls process] = ok (9) eap_peap: Session established. Decoding tunneled attributes (9) eap_peap: PEAP state send tlv failure (9) eap_peap: Received EAP-TLV response (9) eap_peap: The users session was previously rejected: returning reject (again.) (9) eap_peap: This means you need to read the PREVIOUS messages in the debug output (9) eap_peap: to find out the reason why the user was rejected (9) eap_peap: Look for "reject" or "fail". Those earlier messages will tell you (9) eap_peap: what went wrong, and how to fix the problem (9) eap: ERROR: Failed continuing EAP PEAP (25) session. EAP sub-module failed (9) eap: Sending EAP Failure (code 4) ID 115 length 4 (9) eap: Failed in EAP select (9) [eap] = invalid (9) } # authenticate = invalid (9) Failed to authenticate the user (9) Using Post-Auth-Type Reject (9) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (9) Post-Auth-Type REJECT { (9) attr_filter.access_reject: EXPAND %{User-Name} (9) attr_filter.access_reject: --> EUCNVS\\bob (9) attr_filter.access_reject: Matched entry DEFAULT at line 11 (9) [attr_filter.access_reject] = updated (9) [eap] = noop (9) policy remove_reply_message_if_eap { (9) if (&reply:EAP-Message && &reply:Reply-Message) { (9) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (9) else { (9) [noop] = noop (9) } # else = noop (9) } # policy remove_reply_message_if_eap = noop (9) } # Post-Auth-Type REJECT = updated (9) Delaying response for 1.000000 seconds Waking up in 0.3 seconds. Waking up in 0.6 seconds. (9) Sending delayed response (9) Sent Access-Reject Id 92 from 192.168.1.5:1812 to 192.168.1.60:35607 length 44 (9) EAP-Message = 0x04730004 (9) Message-Authenticator = 0x00000000000000000000000000000000 Waking up in 3.3 seconds. (0) Cleaning up request packet ID 83 with timestamp +13 (1) Cleaning up request packet ID 84 with timestamp +13 Waking up in 0.3 seconds. (2) Cleaning up request packet ID 85 with timestamp +13 (3) Cleaning up request packet ID 86 with timestamp +14 (4) Cleaning up request packet ID 87 with timestamp +14 Waking up in 0.1 seconds. (5) Cleaning up request packet ID 88 with timestamp +14 (6) Cleaning up request packet ID 89 with timestamp +14 (7) Cleaning up request packet ID 90 with timestamp +14 (8) Cleaning up request packet ID 91 with timestamp +14 (9) Cleaning up request packet ID 92 with timestamp +14 Ready to process requests -- ------------------------------------------- Med venlig hilsen / Yours Sincerly Henrik Kressner
On Jul 1, 2016, at 9:55 AM, Henrik Kressner <kressner@synkro.dk> wrote:
Here it comes:
Reading it helps. You said "I believe I did just that in the file: /usr/local/etc/raddb/users" And the files module is loading"
files { filename = "/usr/local/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy" }
i.e. You've installed two different versions of the server, and got confused. You're editing file A, when the server is reading file B. All of this could have been avoided if you had READ the debug output, or if you had cleaned up the old installation as you said you did. This is why we say READ THE DEBUG OUTPUT. There is a huge percentage of problems on this list which can be solved just by reading the debug output. Alan DeKok.
On Fri, Jul 01, 2016 at 10:01:09AM -0400, Alan DeKok wrote:
On Jul 1, 2016, at 9:55 AM, Henrik Kressner <kressner@synkro.dk> wrote:
You said "I believe I did just that in the file: /usr/local/etc/raddb/users"
And the files module is loading"
filename = "/usr/local/etc/raddb/mods-config/files/authorize"
/usr/local/etc/raddb/users *should* be installed as a symlink through to "./mods-config/files/authorize", unless the install broke. At least, it is here. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On Fri, Jul 01, 2016 at 03:55:52PM +0200, Henrik Kressner wrote:
Here it comes:
(8) Received Access-Request Id 91 from 192.168.1.60:35607 to 192.168.1.5:1812 length 296 (8) User-Name = "EUCNVS\\bob"
Your User-Name is "EUCNVS\bob", not "bob".
(8) eap_peap: User-Name = "EUCNVS\\bob" (8) eap_peap: State = 0x7c2bf3237c59e97d257f0149afd6e24c (8) Virtual server inner-tunnel received request (8) EAP-Message = 0x027200451a0272004031d62c503eb90b16d5031e912bfc00ed0800000000000000001b7b6fad2215fe2943abc2a9e2562984e93aaf8c19a3de75004555434e56535c626f62 (8) FreeRADIUS-Proxied-To = 127.0.0.1 (8) User-Name = "EUCNVS\\bob"
This is passed as-is through to the inner-tunnel.
(8) server inner-tunnel { (8) session-state: No cached attributes (8) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (8) authorize { (8) policy filter_username { (8) if (&User-Name) { (8) if (&User-Name) -> TRUE (8) if (&User-Name) { (8) if (&User-Name =~ / /) { (8) if (&User-Name =~ / /) -> FALSE (8) if (&User-Name =~ /@[^@]*@/ ) { (8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE (8) if (&User-Name =~ /\.\./ ) { (8) if (&User-Name =~ /\.\./ ) -> FALSE (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (8) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) -> FALSE (8) if (&User-Name =~ /\.$/) { (8) if (&User-Name =~ /\.$/) -> FALSE (8) if (&User-Name =~ /@\./) { (8) if (&User-Name =~ /@\./) -> FALSE (8) } # if (&User-Name) = notfound (8) } # policy filter_username = notfound (8) [chap] = noop (8) [mschap] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "EUCNVS\bob", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop
You've not configured the realm module to handle "EUCNVS" as a realm, or used any unlang config to do the same.
(8) [files] = noop
So the files module doesn't match. "EUCNVS\bob" is not "bob".
(8) mschap: WARNING: No Cleartext-Password configured. Cannot create NT-Password (8) mschap: WARNING: No Cleartext-Password configured. Cannot create LM-Password
And therefore Cleartext-Password isn't defined when it needs to be. Matthew -- Matthew Newton, Ph.D. <mcn4@leicester.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>
On 01-07-2016 16:21, Matthew Newton wrote:
On Fri, Jul 01, 2016 at 03:55:52PM +0200, Henrik Kressner wrote:
Here it comes:
(8) Received Access-Request Id 91 from 192.168.1.60:35607 to 192.168.1.5:1812 length 296 (8) User-Name = "EUCNVS\\bob" Your User-Name is "EUCNVS\bob", not "bob".
Thanks, did'nt see that, cant see the forrest for the trees after looking at many trees. It was something Win 7 added, had to unchek a box somewhere in the network config. No I believe I can move on, thanks to all for help. -- ------------------------------------------- Med venlig hilsen / Yours Sincerly Henrik Kressner kressner@synkro.dk Ingeniørfirmaet Synkro / Synkro Engineering Vædevej 64 5462 Morud http://www.synkro.dk Direkte 40 37 40 87
On Jul 1, 2016, at 8:53 AM, Henrik Kressner <kressner@synkro.dk> wrote:
On 01-07-2016 14:12, Alan DeKok wrote:
On Jul 1, 2016, at 8:08 AM, Henrik Kressner <kressner@synkro.dk> wrote:
I believe I did just that in the file: /usr/local/etc/raddb/users Is that the right file to edit? Maybe you've installed multiple versions of the server.
Not at the same time. I cleaned totally before I installed from source.
This is probably the root cause of the problem. You're editing one file left over from a previous installation, and the server is reading a file from the new installation. What? Because you installed multiple versions of the software. And you didn't keep track of which one was installed where. If you READ the debug output, it shows you which configuration files it's reading. If you READ the debug output, it will show you the full path to the "users" file it's reading. If you READ the debug output, it will show you which entry in the "users" file it's matching. If you READ the debug output, it will show you what the "files" module is doing. This shouldn't be complicated. We say to READ the debug output because we mean it. It really looks like you're ignoring 99% of the debug output, and then only looking at tiny portions of it. This is not the recommended approach. After almost 20 years of doing this, I've seen this problem a lot: "But I'm doing everything correctly, and it still doesn't work!" No, you're not doing everything correctly. Maybe you're doing something you're not supposed to do. Or, maybe you're not doing something you *are* supposed to do. The server works for everyone else. Really. If it doesn't work for you, it's because of a local configuration change which broke it. Alan DeKok.
participants (4)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Henrik Kressner -
Matthew Newton