那位高手帮忙将 freeradius 2.13 在 ubuntu server 8.10 下打包deb!

编译安装或者制作Deb包
回复
yangtj
帖子: 13
注册时间: 2008-10-05 13:31
送出感谢: 0
接收感谢: 0

那位高手帮忙将 freeradius 2.13 在 ubuntu server 8.10 下打包deb!

#1

帖子 yangtj » 2009-03-05 6:35

那位高手帮忙将 freeradius 2.13 在 ubuntu server 8.10 下打包deb!,等着急用,如果能将过程记录下来做个教材,更是感激不尽!


附上源码
附件
freeradius-server-2.1.3.tar.gz
(3.52 MiB) 下载 25 次
yangtj
帖子: 13
注册时间: 2008-10-05 13:31
送出感谢: 0
接收感谢: 0

经过研究,已经编译打包成功,且顺利启动!

#2

帖子 yangtj » 2009-03-05 17:21

但是在测试时,出现问题,明明我的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
回复

回到 “编译或打包”