I'm trying to configure freeradius to authenticate against AD for wireless
users. Attached the entire log message for reference.

I was able to narrow down the issue but could not fix it, can someone help
me here.

       User-Name = "<domain\username>"
        NAS-IP-Address = 10.20.0.253
        Called-Station-Id = "0014bf72d6be"
        Calling-Station-Id = "0014a526c319"
        NAS-Identifier = "0014bf72d6be"
        NAS-Port = 60
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        EAP-Message = 0x0200001301434f52505c6b6172747468696b72
        Message-Authenticator = 0xbb9d83dd419b80f599579697d6b70bcd
+- entering group authorize
++[preprocess] returns ok
++[mschap] returns noop
    rlm_realm: No '@' in User-Name = "<domain\username>", looking up realm
NULL
    rlm_realm: No such realm "NULL"
++[suffix] returns noop
    rlm_realm: Looking up realm "DOMAIN" for User-Name = "<domain\username>"
    rlm_realm: No such realm "DOMAIN"
++[ntdomain] returns noop
++[expiration] returns noop
++[logintime] returns noop
auth: No authenticate method (Auth-Type) configuration found for the
request: Rejecting the user
auth: Failed to validate the user.
Login incorrect: [<domain\\username>/<no User-Password attribute>] (from
client <stripped> port 60 cli 0014a526c319)
  Found Post-Auth-Type Reject
+- entering group REJECT
        expand: %{User-Name} -> <domain\username>
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 0
Waking up in 4.9 seconds.
Cleaning up request 0 ID 0 with timestamp +55
Ready to process requests.
-bash-3.00# ./radiusd -X
FreeRADIUS Version 2.0.3, for host i686-pc-linux-gnu, built on Apr 20 2008 at 
20:23:36
Copyright (C) 1999-2008 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.
Starting - reading configuration files ...
including configuration file /tools/freeradius2.0.3/etc/raddb/radiusd.conf
including configuration file /tools/freeradius2.0.3/etc/raddb/clients.conf
including configuration file /tools/freeradius2.0.3/etc/raddb/eap.conf
including files in directory /tools/freeradius2.0.3/etc/raddb/sites-enabled/
including configuration file 
/tools/freeradius2.0.3/etc/raddb/sites-enabled/default
including dictionary file /tools/freeradius2.0.3/etc/raddb/dictionary
main {
        prefix = "/tools/freeradius2.0.3"
        localstatedir = "/tools/freeradius2.0.3/var"
        logdir = "/tools/freeradius2.0.3/var/log/radius"
        libdir = "/tools/freeradius2.0.3/lib"
        radacctdir = "/tools/freeradius2.0.3/var/log/radius/radacct"
        hostname_lookups = no
        max_request_time = 30
        cleanup_delay = 5
        max_requests = 2560
        allow_core_dumps = no
        pidfile = "/tools/freeradius2.0.3/var/run/radiusd/radiusd.pid"
        checkrad = "/tools/freeradius2.0.3/sbin/checkrad"
        debug_level = 0
        proxy_requests = yes
 security {
        max_attributes = 200
        reject_delay = 1
        status_server = yes
 }
}
 client 10.20.0.0/22 {
        require_message_authenticator = no
        secret = <stripped off>
        shortname = <stripped off>
        nastype = "other"
 }
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Instantiating modules ####
 instantiate {
 Module: Linked to module rlm_exec
 Module: Instantiating exec
  exec {
        wait = yes
        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 {
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_mschap
 Module: Instantiating mschap
  mschap {
        use_mppe = yes
        require_encryption = yes
        require_strong = yes
        with_ntdomain_hack = yes
        ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key 
--username=%{mschap:User-Name} --domain=%{mschap:NT-Domain} 
--challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
  }
 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
  }
 Module: Linked to sub-module rlm_eap_md5
 Module: Instantiating eap-md5
 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 = "/tools/freeradius2.0.3/etc/raddb/certs/server.pem"
        certificate_file = "/tools/freeradius2.0.3/etc/raddb/certs/server.pem"
        CA_file = "/tools/freeradius2.0.3/etc/raddb/certs/ca.pem"
        private_key_password = <stripped off>
        dh_file = "/tools/freeradius2.0.3/etc/raddb/certs/dh"
        random_file = "/tools/freeradius2.0.3/etc/raddb/certs/random"
        fragment_size = 1024
        include_length = yes
        check_crl = no
        cipher_list = "DEFAULT"
   }
 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: Instantiating ntlm_auth
  exec ntlm_auth {
        wait = yes
        program = "/usr/bin/ntlm_auth --request-nt-key 
--username=%{mschap:User-Name} --domain=%{mschap:NT-Domain} 
--challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
        input_pairs = "request"
        shell_escape = yes
  }
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_preprocess
 Module: Instantiating preprocess
  preprocess {
        huntgroups = "/tools/freeradius2.0.3/etc/raddb/huntgroups"
        hints = "/tools/freeradius2.0.3/etc/raddb/hints"
        with_ascend_hack = no
        ascend_channels_per_line = 23
        with_ntdomain_hack = no
        with_specialix_jetstream_hack = no
        with_cisco_vsa_hack = no
        with_alvarion_vsa_hack = no
  }
 Module: Linked to module rlm_realm
 Module: Instantiating suffix
  realm suffix {
        format = "suffix"
        delimiter = "@"
        ignore_default = no
        ignore_null = no
  }
 Module: Instantiating ntdomain
  realm ntdomain {
        format = "prefix"
        delimiter = "\"
        ignore_default = no
        ignore_null = 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: Linked to module rlm_files
 Module: Instantiating files
  files {
        usersfile = "/tools/freeradius2.0.3/etc/raddb/users"
        acctusersfile = "/tools/freeradius2.0.3/etc/raddb/acct_users"
        preproxy_usersfile = "/tools/freeradius2.0.3/etc/raddb/preproxy_users"
        compat = "no"
  }
 Module: Checking accounting {...} for more modules to load
 Module: Linked to module rlm_detail
 Module: Instantiating detail
  detail {
        detailfile = 
"/tools/freeradius2.0.3/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_unix
 Module: Instantiating unix
  unix {
        radwtmp = "/tools/freeradius2.0.3/var/log/radius/radwtmp"
  }
 Module: Linked to module rlm_radutmp
 Module: Instantiating radutmp
  radutmp {
        filename = "/tools/freeradius2.0.3/var/log/radius/radutmp"
        username = "%{User-Name}"
        case_sensitive = yes
        check_with_nas = yes
        perm = 384
        callerid = yes
  }
 Module: Linked to module rlm_attr_filter
 Module: Instantiating attr_filter.accounting_response
  attr_filter attr_filter.accounting_response {
        attrsfile = "/tools/freeradius2.0.3/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
 Module: Instantiating attr_filter.access_reject
  attr_filter attr_filter.access_reject {
        attrsfile = "/tools/freeradius2.0.3/etc/raddb/attrs.access_reject"
        key = "%{User-Name}"
  }
 }
}
radiusd: #### Opening IP addresses and Ports ####
listen {
        type = "auth"
        ipaddr = *
        port = 0
}
Listening on authentication address * port 1812
Listening on proxy address * port 1814
Ready to process requests.
        User-Name = "<domain\username>"
        NAS-IP-Address = 10.20.0.253
        Called-Station-Id = "0014bf72d6be"
        Calling-Station-Id = "0014a526c319"
        NAS-Identifier = "0014bf72d6be"
        NAS-Port = 60
        Framed-MTU = 1400
        NAS-Port-Type = Wireless-802.11
        EAP-Message = 0x0200001301434f52505c6b6172747468696b72
        Message-Authenticator = 0xbb9d83dd419b80f599579697d6b70bcd
+- entering group authorize
++[preprocess] returns ok
++[mschap] returns noop
    rlm_realm: No '@' in User-Name = "<domain\username>", looking up realm NULL
    rlm_realm: No such realm "NULL"
++[suffix] returns noop
    rlm_realm: Looking up realm "DOMAIN" for User-Name = "<domain\username>"
    rlm_realm: No such realm "DOMAIN"
++[ntdomain] returns noop
++[expiration] returns noop
++[logintime] returns noop
auth: No authenticate method (Auth-Type) configuration found for the request: 
Rejecting the user
auth: Failed to validate the user.
Login incorrect: [<domain\\username>/<no User-Password attribute>] (from client 
<stripped> port 60 cli 0014a526c319)
  Found Post-Auth-Type Reject
+- entering group REJECT
        expand: %{User-Name} -> <domain\username>
 attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 0 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 0
Waking up in 4.9 seconds.
Cleaning up request 0 ID 0 with timestamp +55
Ready to process requests.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to