Problem with Digest/OpenSER/Radius



Hi.
My problem is such, that we store our passwords in Md5 in database, when authorization request comes from ser, i get digest attributes.
I issue:

authorize_check_query = "SELECT id, UserName, Attribute, Value, Op \
                FROM ${authcheck_table} \
                WHERE Username = '%{SQL-User-Name}' \
                ORDER BY id"

And in Database I have:

id = 1
UserName = test001
Attribute=User-Password
Value = test

Now, my real database stores passwords as md5 hashes and the radius compares the clear text passwords, how can i force it to compate md5 hashes of passwords?

--
Dariusz Dwornikowski
tdi@vercom.pl







This archive was generated by a fusion of Pipermail (Mailman edition) and MHonArc.