There used to be a DEFAULT stanza in the "users" configuration file that set Auth-Type := System which tells the RADIUS server to use /etc/passwd for authentication. This has caused a few issues like this in the past, though I thought it had been resolved for 1.0.5. If is still exists you may have more success if you comment that out. Hope that helps, Mike -----Original Message----- From: freeradius-users-bounces@lists.freeradius.org [mailto:freeradius-users-bounces@lists.freeradius.org] Sent: Tuesday, 22 November 2005 9:13 AM To: freeradius-users@lists.freeradius.org Subject: CHAP Problems rad_check_password: Found Auth-Type Local rad_check_password: Found Auth-Type System Warning: Found 2 auth-types on request for user 'awarren' auth: type "System" Processing the authenticate section of radiusd.conf modcall: entering group authenticate for request 14 rlm_unix: Attribute "User-Password" is required for authentication. Cannot use "CHAP-Password". modcall[authenticate]: module "unix" returns invalid for request 14 modcall: group authenticate returns invalid for request 14 auth: Failed to validate the user.
I need it to check both. It told me it wanted == System. I just found if I changed that to == Local it will read the MySql database, but if the user is not in there, it won't check the passwd/shadow file. Thanks ----- Original Message ----- From: "Mitchell, Michael J" <Michael.Mitchell@team.telstra.com> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Monday, November 21, 2005 3:37 PM Subject: RE: CHAP Problems
There used to be a DEFAULT stanza in the "users" configuration file that set Auth-Type := System which tells the RADIUS server to use /etc/passwd for authentication. This has caused a few issues like this in the past, though I thought it had been resolved for 1.0.5.
If is still exists you may have more success if you comment that out.
Hope that helps, Mike
-----Original Message----- From: freeradius-users-bounces@lists.freeradius.org [mailto:freeradius-users-bounces@lists.freeradius.org] Sent: Tuesday, 22 November 2005 9:13 AM To: freeradius-users@lists.freeradius.org Subject: CHAP Problems
rad_check_password: Found Auth-Type Local rad_check_password: Found Auth-Type System Warning: Found 2 auth-types on request for user 'awarren' auth: type "System" Processing the authenticate section of radiusd.conf modcall: entering group authenticate for request 14 rlm_unix: Attribute "User-Password" is required for authentication. Cannot use "CHAP-Password". modcall[authenticate]: module "unix" returns invalid for request 14 modcall: group authenticate returns invalid for request 14 auth: Failed to validate the user.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Taking it out stopped everything all together. ----- Original Message ----- From: "Mitchell, Michael J" <Michael.Mitchell@team.telstra.com> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Monday, November 21, 2005 3:37 PM Subject: RE: CHAP Problems
There used to be a DEFAULT stanza in the "users" configuration file that set Auth-Type := System which tells the RADIUS server to use /etc/passwd for authentication. This has caused a few issues like this in the past, though I thought it had been resolved for 1.0.5.
If is still exists you may have more success if you comment that out.
Hope that helps, Mike
-----Original Message----- From: freeradius-users-bounces@lists.freeradius.org [mailto:freeradius-users-bounces@lists.freeradius.org] Sent: Tuesday, 22 November 2005 9:13 AM To: freeradius-users@lists.freeradius.org Subject: CHAP Problems
rad_check_password: Found Auth-Type Local rad_check_password: Found Auth-Type System Warning: Found 2 auth-types on request for user 'awarren' auth: type "System" Processing the authenticate section of radiusd.conf modcall: entering group authenticate for request 14 rlm_unix: Attribute "User-Password" is required for authentication. Cannot use "CHAP-Password". modcall[authenticate]: module "unix" returns invalid for request 14 modcall: group authenticate returns invalid for request 14 auth: Failed to validate the user.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Michael, I got it to work. What I found worked. I recall this was not the way to do this, but it worked until I get it worked out. I have two entries in the users file. DEFAULT Auth-Type := System Fall-Through = Yes DEFAULT Auth-Type := Local Fall-Through = Yes I did find if the := Local entry was first it would error out, but as long as it was second I get users logging in both ways PAP and CHAP. Thanks Bob ----- Original Message ----- From: "Mitchell, Michael J" <Michael.Mitchell@team.telstra.com> To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org> Sent: Monday, November 21, 2005 3:37 PM Subject: RE: CHAP Problems
There used to be a DEFAULT stanza in the "users" configuration file that set Auth-Type := System which tells the RADIUS server to use /etc/passwd for authentication. This has caused a few issues like this in the past, though I thought it had been resolved for 1.0.5.
If is still exists you may have more success if you comment that out.
Hope that helps, Mike
-----Original Message----- From: freeradius-users-bounces@lists.freeradius.org [mailto:freeradius-users-bounces@lists.freeradius.org] Sent: Tuesday, 22 November 2005 9:13 AM To: freeradius-users@lists.freeradius.org Subject: CHAP Problems
rad_check_password: Found Auth-Type Local rad_check_password: Found Auth-Type System Warning: Found 2 auth-types on request for user 'awarren' auth: type "System" Processing the authenticate section of radiusd.conf modcall: entering group authenticate for request 14 rlm_unix: Attribute "User-Password" is required for authentication. Cannot use "CHAP-Password". modcall[authenticate]: module "unix" returns invalid for request 14 modcall: group authenticate returns invalid for request 14 auth: Failed to validate the user.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
participants (2)
-
Mitchell, Michael J -
Radius