CHAP with perl module

Alan DeKok aland at deployingradius.com
Tue Mar 4 16:06:02 CET 2008


Jeremy Kusnetz wrote:
> It seems like I need to do all the authentication and set the RAD_REPLY attributes.

  No.  The module *can* be listed in the "authenticate" section, but it
doesn't *have* to be listed there.

> That does work except for my problem case, but what you are saying is all I have to
> do is return the clear text password, and freeradius will do the rest?  I'm not seeing
> how to just return the clear text password from the wiki docs.

  You don't "return" any attributes.  You update the hashes, and the
server figures it out.

	...
	$RAD_CHECK{'Cleartext-Password'} = "bob";
	...

  Alan DeKok.



More information about the Freeradius-Users mailing list