这是非常有趣的问题。免费半径服务器已启动并运行了近一年,没有任何问题。突然间它本周停止工作。
我从本地测试域用户:
radtest jzwang@yyy.yyy.yy 'yyy11111' localhost 18120 testing123
Sending Access-Request of id 149 to 127.0.0.1 port 1812
User-Name = "jzwang@yyy.yyy.yy"
User-Password = "yyy11111"
NAS-IP-Address = 10.10.10.10
NAS-Port = 18120
Message-Authenticator = 0x00000000000000000000000000000000
Sending Access-Request of id 149 to 127.0.0.1 port 1812
User-Name = "jzwang@yyy.yyy.yy"
User-Password = "yyy11111"
NAS-IP-Address = 10.10.10.10
NAS-Port = 18120
Message-Authenticator = 0x00000000000000000000000000000000
Sending Access-Request of id 149 to 127.0.0.1 port 1812
User-Name = "jzwang@yyy.yyy.yy"
User-Password = "yyy11111"
NAS-IP-Address = 10.10.10.10
NAS-Port = 18120
Message-Authenticator = 0x00000000000000000000000000000000 "
radclient: no response from server for ID 149 socket 3
但是Radius.log显示了Auth:Login OK。 debug show ..
+- entering group authenticate {...}
pam_pass: using pamauth string <radiusd> for pam.conf lookup
pam_pass: authentication succeeded for <jzwang@yyy.yyy.yy>
++[pam] returns ok
Login OK: [jzwang@yyy.yyy.yy/yyy11111] (from client localhost port 18120)
我切换到Pam_unix.so并测试本地用户帐户,效果很好。只有域用户帐户(使用Pam_lsass.so)存在问题。