[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Unable to perform CHAP Authentication: after modifying client
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2010-07-27 7:21:14
Message-ID: 4C4E88EA.6070805 () deployingradius ! com
[Download RAW message or body]

Santosh Kumar wrote:
> Need help for modifying the radius client or updating for CHAP
> authentication,

  You need to do the CHAP calculations.  See the RFC's for details.

> Modified the below attribute, instead of PW_USER_PASSWORD to
> PW_CHAP_PASSWORD, but its rejecting please do know if i'm wrong or/and
> have to take care of any other aspect.
...
> if (rc_avpair_add(rh, &send, PW_CHAP_PASSWORD, passwd, -1, 0) == NULL)
> return ERROR_RC;

  That won't work.  CHAP requires specific crypto calculations.  You're
not doing them.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic