Dariusz Dwornikowski wrote:
> 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:

  Digest authentication and MD5 hashed passwords are incompatible.

  It won't work.

> 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?

  Use the "MD5-Password" attribute, not the "User-Password" attribute.
See "man rlm_pap" for more.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to