当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 2 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 那位高手帮忙将 freeradius 2.13 在 ubuntu server 8.10 下打包deb!
帖子发表于 : 2009-03-05 6:35 

注册: 2008-10-05 13:31
帖子: 13
送出感谢: 0 次
接收感谢: 0 次
那位高手帮忙将 freeradius 2.13 在 ubuntu server 8.10 下打包deb!,等着急用,如果能将过程记录下来做个教材,更是感激不尽!


附上源码


附件:
freeradius-server-2.1.3.tar.gz [3.52 MiB]
被下载 24 次
页首
 用户资料  
 
2 楼 
 文章标题 : 经过研究,已经编译打包成功,且顺利启动!
帖子发表于 : 2009-03-05 17:21 

注册: 2008-10-05 13:31
帖子: 13
送出感谢: 0 次
接收感谢: 0 次
但是在测试时,出现问题,明明我的MYSQL数据库中有用户 ppp,可是 freeradius 却回复找不到该用户,奇怪的很!大家遇到过这种问题吗?

Ready to process requests.
rad_recv: Access-Request packet from host 10.57.90.2 port 1079, id=2, length=183
Service-Type = Framed-User
Framed-Protocol = PPP
NAS-Port = 65191
NAS-Port-Type = Ethernet
User-Name = "ppp"
Calling-Station-Id = "00:1A:6B:62:6F:14"
Called-Station-Id = "Internet"
NAS-Port-Id = "Office-2"
MS-CHAP-Challenge = 0x4aab0c69121c4283ee0e25fc2be30b55
MS-CHAP2-Response =

0x0100e5b8edc48fa4b2dd1af8986b7e077c8400000000000000002ce1a5e906f622984b5ff5ecda5bd726fb27eb3fb79b0a5e
NAS-Identifier = "XWCUC"
NAS-IP-Address = 10.57.90.2
+- entering group authorize {...}
++[preprocess] returns ok
[auth_log] expand: /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d ->

/var/log/freeradius/radacct/10.57.90.2/auth-detail-20090305
[auth_log] /var/log/freeradius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d expands to

/var/log/freeradius/radacct/10.57.90.2/auth-detail-20090305
[auth_log] expand: %t -> Thu Mar 5 16:52:54 2009
++[auth_log] returns ok
++[chap] returns noop
[mschap] Found MS-CHAP attributes. Setting 'Auth-Type = mschap'
++[mschap] returns ok
[suffix] No '@' in User-Name = "ppp", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] No EAP-Message, not doing EAP
++[eap] returns noop
[sql] expand: %{User-Name} -> ppp
[sql] sql_set_user escaped user --> 'ppp'
rlm_sql (sql): Reserving sql socket id: 2
[sql] expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username =

'%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radcheck

WHERE username = 'ppp' ORDER BY id
[sql] expand: SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}'

ORDER BY priority -> SELECT groupname FROM radusergroup WHERE username = 'ppp'

ORDER BY priority
rlm_sql (sql): Released sql socket id: 2
[sql] User ppp not found
++[sql] returns notfound
rlm_counter: Entering module authorize code
rlm_counter: Could not find Check item value pair
++[daily] returns noop
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING! No "known good" password found for the user. Authentication may fail because of this.
++[pap] returns noop
Found Auth-Type = MSCHAP
+- entering group MS-CHAP {...}
[mschap] No Cleartext-Password configured. Cannot create LM-Password.
[mschap] No Cleartext-Password configured. Cannot create NT-Password.
[mschap] Told to do MS-CHAPv2 for ppp with NT-Password
[mschap] FAILED: No NT/LM-Password. Cannot perform authentication.
[mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject
Failed to authenticate the user.
Login incorrect: [ppp/<via Auth-Type = mschap>] (from client xwcuc port 65191 cli 00:1A:6B:62:6F:14)
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> ppp
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 2 for 1 seconds
Going to the next request


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 2 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 1 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译