Hi
I think I'm starting to go around in circles. I thought a post may therefore
save a bit of my sanity.
I have a number of clients, XP and Pocket PC based, that I use Cisco
wireless LAN adapters. I have these authenticate using leap with the WAP
which in turn uses FreeRadius (0.9.1). When I put a specific username in the
users file this all works fine.
However the radius server also has Samba running on it and I want to have
the clients auth against this data. I have edited radiusd.conf to include a
passwd module to use the Samba passwd file.
However I don't have the config right yet as I see the following:
1) rlm_eap_leap: No User-Password or NT-Password configured for this
user
2) modcall[authorize]: module "mschap" returns noop
Hopefully I'm not too far off the mark and someone can point me in the right
direction. Please?
Regards
Alan
Session info attached:
Starting - reading configuration files ...
reread_config: reading radiusd.conf
Config: including file: /usr/local/etc/raddb/clients.conf
Config: including file: /usr/local/etc/raddb/snmp.conf
Config: including file: /usr/local/etc/raddb/sql.conf
main: prefix = "/usr/local"
main: localstatedir = "/usr/local/var"
main: logdir = "/usr/local/var/log/radius"
main: libdir = "/usr/local/lib"
main: radacctdir = "/usr/local/var/log/radius/radacct"
main: hostname_lookups = no
main: max_request_time = 30
main: cleanup_delay = 5
main: max_requests = 1024
main: delete_blocked_requests = 0
main: port = 0
main: allow_core_dumps = no
main: log_stripped_names = no
main: log_file = "/usr/local/var/log/radius/radius.log"
main: log_auth = no
main: log_auth_badpass = no
main: log_auth_goodpass = no
main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
main: user = "(null)"
main: group = "(null)"
main: usercollide = no
main: lower_user = "no"
main: lower_pass = "no"
main: nospace_user = "no"
main: nospace_pass = "no"
main: checkrad = "/usr/local/sbin/checkrad"
main: proxy_requests = no
security: max_attributes = 200
security: reject_delay = 1
security: status_server = no
main: debug_level = 0
read_config_files: reading dictionary
read_config_files: reading naslist
Using deprecated naslist file. Support for this will go away soon.
read_config_files: reading clients
Using deprecated clients file. Support for this will go away soon.
read_config_files: reading realms
Using deprecated realms file. Support for this will go away soon.
radiusd: entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
mschap: use_mppe = yes
mschap: require_encryption = no
mschap: require_strong = no
mschap: passwd = "(null)"
mschap: authtype = "MS-CHAP"
Module: Instantiated mschap (mschap)
Module: Loaded Pam
pam: pam_auth = "radiusd"
Module: Instantiated pam (pam)
Module: Loaded System
unix: cache = no
unix: passwd = "/etc/passwd"
unix: shadow = "/etc/shadow"
unix: group = "/etc/group"
unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
unix: usegroup = no
unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded eap
eap: default_eap_type = "md5"
eap: timer_expire = 60
rlm_eap: Loaded and initialized the type md5
rlm_eap: Loaded and initialized the type leap
Module: Instantiated eap (eap)
Module: Loaded preprocess
preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
preprocess: hints = "/usr/local/etc/raddb/hints"
preprocess: with_ascend_hack = no
preprocess: ascend_channels_per_line = 23
preprocess: with_ntdomain_hack = no
preprocess: with_specialix_jetstream_hack = no
preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
realm: format = "suffix"
realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded files
files: usersfile = "/usr/local/etc/raddb/users"
files: acctusersfile = "/usr/local/etc/raddb/acct_users"
files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
files: compat = "no"
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
Client-IP-Address, NAS-Port-Id"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
detail: detailfile =
"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
detail: detailperm = 384
detail: dirperm = 493
detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
radutmp: filename = "/usr/local/var/log/radius/radutmp"
radutmp: username = "%{User-Name}"
radutmp: case_sensitive = yes
radutmp: check_with_nas = yes
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Initializing the thread pool...
thread: start_servers = 5
thread: max_servers = 32
thread: min_spare_servers = 3
thread: max_spare_servers = 10
thread: max_requests_per_server = 0
thread: cleanup_delay = 5
Thread spawned new child 1. Total threads in pool: 1
Thread spawned new child 2. Total threads in pool: 2
Thread spawned new child 3. Total threads in pool: 3
Thread spawned new child 4. Total threads in pool: 4
Thread spawned new child 5. Total threads in pool: 5
Listening on IP address *, ports 1812/udp and 1813/udp.
Ready to process requests.
Thread 5 waiting to be assigned a request
Thread 3 waiting to be assigned a request
Thread 4 waiting to be assigned a request
Thread 1 waiting to be assigned a request
Thread 2 waiting to be assigned a request
rad_recv: Access-Request packet from host 10.20.30.5:1065, id=39, length=162
Thread 1 assigned request 0
--- Walking the entire request list ---
Threads: total/active/spare threads = 5/1/4
Nothing to do. Sleeping until we see a request.
Thread 1 handling request 0, (1 handled so far)
User-Name = "alan"
Cisco-AVPair = "ssid=ssidname"
NAS-IP-Address = 10.20.30.5
Called-Station-Id = "0040965aa2df"
Calling-Station-Id = "00094384ca88"
NAS-Identifier = "wap"
NAS-Port = 37
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message = 0x0202000901616c616e
Message-Authenticator = 0x3d713416f719b9d228c2b3e9045b4045
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 2 length 9
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "alan", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 159
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 2 length 9
rlm_eap: EAP Start not found
rlm_eap: EAP Identity
rlm_eap: processing type md5
rlm_eap_md5: Issuing Challenge
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Challenge of id 39 to 10.20.30.5:1065
EAP-Message = 0x010300160410ecf0a9ac4fa70ec37f5d4ba5a872a6c4
Message-Authenticator = 0x00000000000000000000000000000000
State =
0xb371c0fbe2ccd84f073e373e5ac46a666f366a3f5f7774cd6def1611f3cd0a1ec7e30f83
Finished request 0
Going to the next request
Thread 1 waiting to be assigned a request
rad_recv: Access-Request packet from host 10.20.30.5:1066, id=40, length=197
Thread 2 assigned request 1
--- Walking the entire request list ---
Thread 2 handling request 1, (1 handled so far)
Waking up in 6 seconds...
User-Name = "alan"
Cisco-AVPair = "ssid=ssidname"
NAS-IP-Address = 10.20.30.5
Called-Station-Id = "0040965aa2df"
Calling-Station-Id = "00094384ca88"
NAS-Identifier = "wap"
NAS-Port = 37
Framed-MTU = 1400
State =
0xb371c0fbe2ccd84f073e373e5ac46a666f366a3f5f7774cd6def1611f3cd0a1ec7e30f83
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message = 0x020300060311
Message-Authenticator = 0x71a77d4b2d3749df5ab1d0e99e4dd1dd
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 3 length 6
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "alan", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 159
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 3 length 6
rlm_eap: EAP Start not found
rlm_eap: Request found, released from the list
rlm_eap: EAP NAK
rlm_eap: processing type leap
rlm_eap_leap: Stage 2
rlm_eap_leap: Issuing AP Challenge
rlm_eap_leap: Successfully initiated
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Challenge of id 40 to 10.20.30.5:1066
EAP-Message = 0x01040014110100085d8d74ca9171f0b1616c616e
Message-Authenticator = 0x00000000000000000000000000000000
State =
0x36636ea4405beb5e6ada4b4f837e15276f366a3fa0be708bc67d46298a6fb284d8c492e5
Finished request 1
Going to the next request
Thread 2 waiting to be assigned a request
rad_recv: Access-Request packet from host 10.20.30.5:1067, id=41, length=227
Thread 3 assigned request 2
Waking up in 6 seconds...
Thread 3 handling request 2, (1 handled so far)
User-Name = "alan"
Cisco-AVPair = "ssid=ssidname"
NAS-IP-Address = 10.20.30.5
Called-Station-Id = "0040965aa2df"
Calling-Station-Id = "00094384ca88"
NAS-Identifier = "wap"
NAS-Port = 37
Framed-MTU = 1400
State =
0x36636ea4405beb5e6ada4b4f837e15276f366a3fa0be708bc67d46298a6fb284d8c492e5
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message =
0x0204002411010018e209449c3ea004f83e5cd489fbc7925b7cbca77dbbd97da5616c616e
Message-Authenticator = 0xcaf2aceb4f7edea3f191969681e1f156
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 4 length 36
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "alan", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 159
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 4 length 36
rlm_eap: EAP Start not found
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - leap
rlm_eap: processing type leap
rlm_eap_leap: No User-Password or NT-Password configured for this user
modcall[authenticate]: module "eap" returns invalid
modcall: group authenticate returns invalid
auth: Failed to validate the user.
Delaying request 2 for 1 seconds
Finished request 2
Going to the next request
Thread 3 waiting to be assigned a request
rad_recv: Access-Request packet from host 10.20.30.5:1067, id=41, length=227
Sending Access-Reject of id 41 to 10.20.30.5:1067
EAP-Message = 0x04040004
Message-Authenticator = 0x00000000000000000000000000000000
--- Walking the entire request list ---
Threads: total/active/spare threads = 5/0/5
Waking up in 1 seconds...
rad_recv: Access-Request packet from host 10.20.30.5:1068, id=42, length=162
Thread 4 assigned request 4
Cleaning up request 0 ID 39 with timestamp 3f6a366f
Cleaning up request 1 ID 40 with timestamp 3f6a366f
Cleaning up request 2 ID 41 with timestamp 3f6a366f
rl_next: returning NULL
Waking up in 1 seconds...
Thread 4 handling request 4, (1 handled so far)
User-Name = "alan"
Cisco-AVPair = "ssid=ssidname"
NAS-IP-Address = 10.20.30.5
Called-Station-Id = "0040965aa2df"
Calling-Station-Id = "00094384ca88"
NAS-Identifier = "wap"
NAS-Port = 37
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message = 0x0205000901616c616e
Message-Authenticator = 0x4ccd27164be000f8d7e24ee9ce9bf8b1
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 5 length 9
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "alan", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 159
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 5 length 9
rlm_eap: EAP Start not found
rlm_eap: EAP Identity
rlm_eap: processing type md5
rlm_eap_md5: Issuing Challenge
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Challenge of id 42 to 10.20.30.5:1068
EAP-Message = 0x0106001604103961d3e781bffc7087b94a72e2b846c0
Message-Authenticator = 0x00000000000000000000000000000000
State =
0xbdfbe0de2721c5a44eb16c6a6c0c184d74366a3fcb731b91ac6db8b26e8e57be503145fa
Finished request 4
Going to the next request
Thread 4 waiting to be assigned a request
rad_recv: Access-Request packet from host 10.20.30.5:1069, id=43, length=197
Thread 5 assigned request 5
Waking up in 1 seconds...
Thread 5 handling request 5, (1 handled so far)
User-Name = "alan"
Cisco-AVPair = "ssid=ssidname"
NAS-IP-Address = 10.20.30.5
Called-Station-Id = "0040965aa2df"
Calling-Station-Id = "00094384ca88"
NAS-Identifier = "wap"
NAS-Port = 37
Framed-MTU = 1400
State =
0xbdfbe0de2721c5a44eb16c6a6c0c184d74366a3fcb731b91ac6db8b26e8e57be503145fa
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message = 0x020600060311
Message-Authenticator = 0xcd09d4152e52056ba2dffa998e88e128
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 6 length 6
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "alan", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 159
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 6 length 6
rlm_eap: EAP Start not found
rlm_eap: Request found, released from the list
rlm_eap: EAP NAK
rlm_eap: processing type leap
rlm_eap_leap: Stage 2
rlm_eap_leap: Issuing AP Challenge
rlm_eap_leap: Successfully initiated
modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
Sending Access-Challenge of id 43 to 10.20.30.5:1069
EAP-Message = 0x0107001411010008541e35026c9b0f47616c616e
Message-Authenticator = 0x00000000000000000000000000000000
State =
0x7c056ca38ad4f46bd5c683bc1967c0a174366a3fc24a14bc3601c607715e83f324de06c9
Finished request 5
Going to the next request
Thread 5 waiting to be assigned a request
rad_recv: Access-Request packet from host 10.20.30.5:1070, id=44, length=227
Thread 1 assigned request 6
Waking up in 1 seconds...
Thread 1 handling request 6, (2 handled so far)
User-Name = "alan"
Cisco-AVPair = "ssid=ssidname"
NAS-IP-Address = 10.20.30.5
Called-Station-Id = "0040965aa2df"
Calling-Station-Id = "00094384ca88"
NAS-Identifier = "wap"
NAS-Port = 37
Framed-MTU = 1400
State =
0x7c056ca38ad4f46bd5c683bc1967c0a174366a3fc24a14bc3601c607715e83f324de06c9
NAS-Port-Type = Wireless-802.11
Service-Type = Login-User
EAP-Message =
0x02070024110100182dcead3a84ae46b112028061cb59b82050b86dfcda2fc887616c616e
Message-Authenticator = 0x627060f0ea50d1525a61404843eafa67
modcall: entering group authorize
modcall[authorize]: module "preprocess" returns ok
modcall[authorize]: module "chap" returns noop
rlm_eap: EAP packet type notification id 7 length 36
rlm_eap: EAP Start not found
modcall[authorize]: module "eap" returns updated
rlm_realm: No '@' in User-Name = "alan", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop
users: Matched DEFAULT at 159
modcall[authorize]: module "files" returns ok
modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
rad_check_password: Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
rlm_eap: EAP packet type notification id 7 length 36
rlm_eap: EAP Start not found
rlm_eap: Request found, released from the list
rlm_eap: EAP_TYPE - leap
rlm_eap: processing type leap
rlm_eap_leap: No User-Password or NT-Password configured for this user
modcall[authenticate]: module "eap" returns invalid
modcall: group authenticate returns invalid
auth: Failed to validate the user.
Delaying request 6 for 1 seconds
Finished request 6
Going to the next request
Thread 1 waiting to be assigned a request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 44 to 10.20.30.5:1070
EAP-Message = 0x04070004
Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 4 ID 42 with timestamp 3f6a3674
Cleaning up request 5 ID 43 with timestamp 3f6a3674
Cleaning up request 6 ID 44 with timestamp 3f6a3674
Nothing to do. Sleeping until we see a request.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html