[OpenSIPS-Users] AUTH module HA hash question
Yury Kirsanov
y.kirsanov at gmail.com
Mon Apr 10 11:07:17 UTC 2023
Hi Liviu,
I'm actually NOT using any type of DB, hence the problem, how do I specify
multiple hashes with $var(password) for different auth types, as per the
documentation? And yes, I'm not using auth_db module at all when it
crashes, probably something to look into, if possible, should I create a
ticket? Thanks!
Regards,
Yury.
On Mon, 10 Apr 2023, 20:33 Liviu Chircu, <liviu at opensips.org> wrote:
> Hi, Yuri!
>
> On 09.04.2023 17:27, Yury Kirsanov wrote:
>
> Question is - how do I put TWO hashes into this variable if I'm trying to
> do a 'SHA-256,MD5' authentication, or a 'SHA-256, SHA-512-256' or something
> like that?
>
> The "password_column" name is a bit unfortunate given there are 3 types of
> hashes as you already observed, but it was kept for backwards-compatibility
> reasons as holder for the MD5 hash :)
>
> The other two hash column module params are right below it in the docs:
> hash_column_sha256
> <https://opensips.org/docs/modules/3.4.x/auth_db.html#param_hash_column_sha256>
> and hash_column_sha512t256
> <https://opensips.org/docs/modules/3.4.x/auth_db.html#param_hash_column_sha512t256>
> !
>
> I tried putting these values with a comma, with a semicolon, with a '\r\n'
> but all that leads to is a crash in OpenSIPS without a segfault, like this:
>
> Wow! Maybe this needs to be looked into... I'm assuming you had to
> manually edit the DB schema a bit for that extra-long data to fit in,
> right? If so, I think a crash may be normal / expected, since you are
> using OpenSIPS in a *customized*, *non-standard* way, so you are on your
> own!
>
> Best regards,
>
> --
> Liviu Chircuwww.twitter.com/liviuchircu | www.opensips-solutions.com
> OpenSIPS Summit 2023 Houston, May 23-26 | www.opensips.org/events
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230410/23a48fc6/attachment-0001.html>
More information about the Users
mailing list