Authentication “的身份验证失败”/&引用;:apache radius身份验证中的密码不匹配

Authentication “的身份验证失败”/&引用;:apache radius身份验证中的密码不匹配,authentication,apache2,radius,Authentication,Apache2,Radius,我试图在localhost中的一个目录中实现mod_auth_radius。我已经安装并启用了该模块。在我的“/etc/apache2/apache.conf”文件的末尾添加了以下几行 该目录中的.htaccess文件具有这些行 AuthType Basic AuthName "AdminseHow Radius Authentication" AuthBasicAuthoritative Off AuthBasicProvider radius AuthRadiusAuthoritative

我试图在localhost中的一个目录中实现mod_auth_radius。我已经安装并启用了该模块。在我的“/etc/apache2/apache.conf”文件的末尾添加了以下几行

该目录中的.htaccess文件具有这些行

AuthType Basic
AuthName "AdminseHow Radius Authentication"
AuthBasicAuthoritative Off
AuthBasicProvider radius
AuthRadiusAuthoritative on
AuthRadiusActive On
Require valid-user
但每次我想登录都失败了。我的错误日志中有以下错误

[Thu Jun 20 12:11:08 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 12:18:41 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 12:20:20 2013] [error] [client 127.0.0.1] user 1778: authentication failure for "/": Password Mismatch
[Thu Jun 20 12:35:51 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 13:02:17 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 13:02:40 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch

谢谢

我还没有深入研究这个问题,但我观察到当密码编码方法与终端身份验证系统上的密码编码方式不匹配时,出现了
密码不匹配
错误(实际上是错误#AH01617)

在您的情况下,Apache将使用
AuthType Basic
,以纯文本形式请求密码

我无法找到您使用的
AddRadiusAuth
指令上的文档,但是如果您指定
idea
加密算法用于Radius身份验证服务器,那么这肯定与最初请求发送密码的方式不匹配(基本身份验证)

我不会在这上面花钱,因为我找不到
AddRadiusAuth
的文档,但看起来您也可以根据站点指定
sharedsecret
而不是
idea
。但这也必须是您的Radius服务器的设置方式,您可以将其考虑在内

[Thu Jun 20 12:11:08 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 12:18:41 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 12:20:20 2013] [error] [client 127.0.0.1] user 1778: authentication failure for "/": Password Mismatch
[Thu Jun 20 12:35:51 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 13:02:17 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch
[Thu Jun 20 13:02:40 2013] [error] [client 127.0.0.1] user mehedi: authentication failure for "/": Password Mismatch