[Serdev] [Tracker] Reopened: (SER-138) auth_radius does not set $digest_challenge and it's not possible to use RADIUS auth.

Jan Janak (JIRA) tracker at iptel.org
Fri Dec 8 13:02:50 UTC 2006


     [ http://tracker.iptel.org/browse/SER-138?page=all ]

Jan Janak reopened SER-138:
---------------------------

             

> auth_radius does not set $digest_challenge and it's not possible to use RADIUS auth.
> ------------------------------------------------------------------------------------
>
>                 Key: SER-138
>                 URL: http://tracker.iptel.org/browse/SER-138
>             Project: SER
>          Issue Type: Bug
>          Components: RADIUS
>    Affects Versions: Ottendorf
>         Environment: debian etch i386
>            Reporter: samuel osorio
>         Assigned To: Jan Janak
>             Fix For: Ottendorf
>
>
> Due to the recent changes, auth_radius is not working because the function auth_api.build_challenge it's never called in authorize() and the avp $digest_challenge is never set. This makes impossible to challenge users and therefore it's not possible to use RADIUS authentication.
>  as a temporal hack, next lines make it work but are not at all good code:
> -        case NOT_AUTHENTICATED:   return -1;
> +        case NOT_AUTHENTICATED:
> +                        if (auth_api.build_challenge(_msg, 0, _realm, _hftype) < 0) {
> +                                ERR("Error while creating challenge\n");
> +                                return -2;
> +                        }else{
> +                                return -1;
> +                        }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.iptel.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Serdev mailing list