【问题标题】:Is there something I'm missing in this freeradius configuration?在这个 freeradius 配置中我缺少什么吗?
【发布时间】:2019-07-01 16:22:53
【问题描述】:

我在 kubernetes 集群中设置了一个 freeradius 服务器。我已按照说明设置测试用户以使用 radtest 进行测试,但是,当我运行测试时,我仍然收到“Access-Reject”。

这里是用户文件的开头,我把测试用户放在最上面:

testing Cleartext-Password := "password"
#
#       Configuration file for the rlm_files module.
#       Please see rlm_files(5) manpage for more information.
#
#       This file contains authentication security and configuration
#       information for each user.  Accounting requests are NOT processed
#       through this file.  Instead, see 'accounting', in this directory.

这是我运行测试的命令:

radtest testing password 127.0.0.1 1812 password

其中“testing”是用户名,“password”是用户密码,127.0.0.1是服务器地址(本地测试)1812是端口,第二个“password”是服务器之间的预共享密钥客户端和服务器。 这是该命令的输出:

Sent Access-Request Id 24 from 0.0.0.0:53513 to 127.0.0.1:1812 length 77
        User-Name = "testing"
        User-Password = "password"
        NAS-IP-Address = 10.233.64.70
        NAS-Port = 1812
        Message-Authenticator = 0x00
        Cleartext-Password = "password"
Received Access-Reject Id 24 from 127.0.0.1:1812 to 127.0.0.1:53513 length 20
(0) -: Expected Access-Accept got Access-Reject

此外,即使容器应该在调试模式下启动 freeradius,当我通过 Kubernetes 打开容器中的 bash shell 时,我实际上并没有看到任何调试消息进入 STDOUT。

【问题讨论】:

    标签: ubuntu kubernetes freeradius radius


    【解决方案1】:

    事实证明,LDAP 配置的一部分意味着禁用用户文件。对不起,我应该提到它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2010-12-24
      • 1970-01-01
      • 2021-09-19
      • 1970-01-01
      • 2011-01-24
      • 1970-01-01
      • 1970-01-01
      • 2017-06-17
      相关资源
      最近更新 更多