Problem with Digest/OpenSER/Radius

Dariusz Dwornikowski tdi at vercom.pl
Thu Mar 15 12:31:24 CET 2007


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 at vercom.pl






More information about the Freeradius-Users mailing list