[OpenSIPS-Users] Memcache and calculate_ha1 disabled

mayamatakeshi mayamatakeshi at gmail.com
Mon Aug 2 13:44:47 CEST 2010


On Mon, Aug 2, 2010 at 12:48 AM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:

> Hi Takeshi,
>
> The tutorial was written for the case where you provide the plain-text
> password and the auth engine calculates the ha1.
>
> If you want to disable the HA1 calculation, in that case you need to
> cache it and to provide it to auth engine via the password AVP (for pv
> authentication).
>
> Actually, aside of changing the "calculate_ha1" param , you should not
> change anything else - if your changes are consistent (like adding in
> "password" column in DB the HA1 value), the caching mechanism will work
> unchanged - it will load, cache and provide the HA1 instead of passwd.
>

But Bogdan, it might not happen that www/proxy_authorize would need to use
the password from column ha1b instead (username in credentials containing
"@domain")?

So If that happens, next time when I get the password from cache, it will
not work.
Am I missing something?

br,
takeshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100802/c2558c31/attachment.htm 


More information about the Users mailing list