[OpenSER-Devel] [ openser-Bugs-1853074 ] uac_auth bug in release 1.3

SourceForge.net noreply at sourceforge.net
Tue Feb 12 12:21:14 CET 2008


Bugs item #1853074, was opened at 2007-12-18 16:32
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1853074&group_id=139143

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: None
>Status: Closed
>Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan-Andrei Iancu (bogdan_iancu)
Summary: uac_auth bug in release 1.3

Initial Comment:
I'm trying to use uac_auth() function

I set the parameters in openser.cfg with

modparam("uac","auth_realm_avp","$var(s:realm)")
modparam("uac","auth_username_avp","$var(s:user)")
modparam("uac","auth_password_avp","$var(s:pwd)")

I set correctly these parameters but uac_auth() returns false as if the function cannot see the parameters.

Thanks.

stefano

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

>Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-02-12 13:21

Message:
Logged In: YES 
user_id=1275325
Originator: NO

No more updates and my tests shows that it works.

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

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2008-01-28 16:31

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Stefano,

But are you sure the AVP with the realm ($var(s:realm)) contains the same
string as advertised in the realm field in the auth header??

please post the challenge reply you try to authenticate and the values you
pass into avps.

Thanks and regards,
Bogdan

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

Comment By: Nobody/Anonymous (nobody)
Date: 2007-12-18 23:46

Message:
Logged In: NO 

The Openser version is 1.3.0 notls with uac.c substitute from 3414 (the
original one had problems you fixed with AVP)

The problem now is that, I mean, uac_auth() is unable to load username,
realm and password from avp's.

The result is that uac_auth() returns 0 (just because it cannot find the
realm equal to the realm in Authorize header)

Regards

stefano

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

Comment By: Bogdan-Andrei Iancu (bogdan_iancu)
Date: 2007-12-18 19:14

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Stefano,

please specify the openser version you are working with. Also please
enabled debugging and send the output of the reply processing.

regards,
bogdan

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1853074&group_id=139143



More information about the Devel mailing list