gpt4 book ai didi

ubuntu - 在这个 freeradius 配置中我缺少什么吗?

转载 作者:行者123 更新时间:2023-12-04 18:50:39 28 4
gpt4 key购买 nike

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

这是用户文件的开头,我将测试用户放在了顶部:

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”是客户端和客户端之间的预共享 key 服务器。
这是该命令的输出:
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

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

最佳答案

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

关于ubuntu - 在这个 freeradius 配置中我缺少什么吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54575248/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com