ssh authentication failed problem use freeradius & pam_radius

Fajar A. Nugraha list at fajar.net
Thu May 24 17:10:19 CEST 2012


On Thu, May 24, 2012 at 9:44 PM, sam <jianxueqd1 at alcatel-lucent.com> wrote:
> The pam_radius_auth module is installed on linux, and if the user-A is not
> created in local and  only existed in remote radius server.
> In following function() in pam_radius_auth.c, the *password always is
> INCORRECT

That is the expected behavior. For pam to work, the user needs to
exist in whatever user db it recognize (in this case, local user).

> Not familiar with this module, can anybody give some instrutions?

Had you read the previous messages, you'd know that if you want to
modify something, it'd be in pam, and NOT in pam_radius plugin.
Possibly by using nss_mysql and getting it to use the same data that
FR is using (with the help of views, or whatever).

But since you decide to ignore it anyway and insist on focusing your
efforts on pam_radius_auth.c, you're pretty much on your own.

-- 
Fajar


More information about the Freeradius-Users mailing list