[ opensips-Bugs-2627561 ] auth_radius: allow sip-avps to be passed for rejected reques

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ opensips-Bugs-2627561 ] auth_radius: allow sip-avps to be passed for rejected reques

SourceForge.net
Bugs item #2627561, was opened at 2009-02-22 14:09
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2627561&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: trunk
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Alex Massover (cupotka2008)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: auth_radius: allow sip-avps to be passed for rejected reques

Initial Comment:
Hi!

This simple patch for auth_radius module allows to pass additional credentials (sip-avps) also for rejected radius requests. For example it can be used for passing custom error codes.

Best Regards,
Alex Massover.

----------------------------------------------------------------------

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-02-27 18:01

Message:
So it should be fine. I will do the backport to 1.4 also.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-02-26 13:17

Message:
Hi!

The following one is working for me for 1.3.2. I'm starting migration to
1.5, and will test it also.

} else {
                LM_ERR("rc_auth failed\n");
                if (received) generate_avps(received);
                goto err;
        }


----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-02-26 13:00

Message:
Alex,

I applied the patch on 1.5 - I did some small change to try to get the AVP
from a the RADIUS reply (if valid) disregarding the reply code. Could you
please overview and confirm if ok?

I'm waiting for your confirmation before backporting to 1.4

Regards,
Bogdan

----------------------------------------------------------------------

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2009-02-24 16:36

Message:
Hi Alex,

Thanks - this is more like a bug, so I moved it accordingly. I will
shortly overview and commit it.

Regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2627561&group_id=232389

_______________________________________________
Devel mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel