rlm_ippool: Could not find Pool-Name attribute
Hello, I have a freeradius 1.1.7 server setup with ppp and pptp using a mysql DB for user authentication. radiusd -xx . rlm_ippool: Could not find Pool-Name attribute ... ... modcall[accounting]: module radutmp returns ok for request 1 rlm_ippool: This is not an Accounting-Stop. Return NOOP. modcall[accounting]: module dialup returns noop for request 1 rlm_ippool: This is not an Accounting-Stop. Return NOOP. modcall[accounting]: module sp_pool returns noop for request 1 - radiusd.conf ippool dialup { range-start = 172.16.0.1 range-stop = 172.16.0.125 netmask = 255.255.255.0 cache-size = 800 session-db = ${raddbdir}/db.ippool ip-index = ${raddbdir}/db.ipindex override = no maximum-timeout = 0 } ippool sp_pool { range-start = 172.16.1.1 range-stop = 172.16.1.125 netmask = 255.255.255.0 cache-size = 800 session-db = ${raddbdir}/db.ippoolsp ip-index = ${raddbdir}/db.ipindexsp override = no maximum-timeout = 0 } post-auth { # main_pool dialup sp_pool # sqlippool # sql # ldap } --- accounting { detail # daily radutmp # sradutmp # main_pool dialup sp_pool # sqlippool sql } users file --- DEFAULT Pool-Name := dialup Fall-Through = Yes DEFAULT Pool-Name := sp_pool Fall-Through = Yes DEFAULT Group == dialup, Pool-Name := dialup DEFAULT Group == sp_pool, Pool-Name := sp_pool - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Dialup admin online user page real online user different
Hello, I have a freeradius 1.1.7 server setup with ppp and pptp using a mysql DB for user authentication. dialup admin web Online Users page == 5 online real online pptp user === 7 online Why different? - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
HELP ME: FAILED: MS-CHAP2-Response is incorrect
Hello, I have a freeradius 1.1.7 server setup with ppp and pptp using a mysql DB for user authentication. --with-mysql-lib-dir=/usr/lib/mysql --with-mysql-include-dir=/usr/include/mysql rpmbuild -bb redhat/freeradius.spec rpm -Uvh freeradius-1.1.7-0.i386.rpm rpm -Uvh freeradius-debuginfo-1.1.7-0.i386.rpm - options.pptpd refuse-pap refuse-chap refuse-mschap #require-mppe-128 ==disable require-mschap-v2 plugin radius.so radius-config-file /usr/local/etc/radiusclient/radiusclient.conf plugin radattr.so - radiusd.conf use_mppe = no authorize { preprocess chap mschap suffix eap files sql pap } accounting { unix radutmp sql } - Here is my debug output: Listening on accounting *:1813 Ready to process requests. rad_recv: Access-Request packet from host 127.0.0.1:32981, id=154, length=151 --- Walking the entire request list --- Waking up in 31 seconds... Threads: total/active/spare threads = 5/0/5 Thread 1 got semaphore Thread 1 handling request 0, (1 handled so far) Service-Type = Framed-User Framed-Protocol = PPP User-Name = testuser MS-CHAP-Challenge = 0x46dec3e9097bc536b786971f662d900d MS-CHAP2-Response = 0xf80040b7092f930cb6002b55b7e1d2e199899c17dfe89020dea63a8232e83dffe3600e77bc95a87b1918 Calling-Station-Id = 12x.xx.xx.xx NAS-IP-Address = 127.0.0.1 NAS-Port = 0 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module preprocess returns ok for request 0 modcall[authorize]: module chap returns noop for request 0 rlm_mschap: Found MS-CHAP attributes. Setting 'Auth-Type = mschap' modcall[authorize]: module mschap returns ok for request 0 rlm_realm: No '@' in User-Name = testuser, looking up realm NULL rlm_realm: No such realm NULL modcall[authorize]: module suffix returns noop for request 0 rlm_eap: No EAP-Message, not doing EAP modcall[authorize]: module eap returns noop for request 0 users: Matched entry DEFAULT at line 153 users: Matched entry DEFAULT at line 172 users: Matched entry DEFAULT at line 184 modcall[authorize]: module files returns ok for request 0 radius_xlat: 'testuser' rlm_sql (sql): sql_set_user escaped user -- 'testuser' radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radcheck WHERE Username = 'testuser' ORDER BY id' rlm_sql (sql): Reserving sql socket id: 4 radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Username = 'testuser' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck.id' radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radreply WHERE Username = 'testuser' ORDER BY id' radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Username = 'testuser' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply.id' rlm_sql (sql): Released sql socket id: 4 modcall[authorize]: module sql returns ok for request 0 rlm_pap: Found existing Auth-Type, not changing it. modcall[authorize]: module pap returns noop for request 0 modcall: leaving group authorize (returns ok) for request 0 rad_check_password: Found Auth-Type MS-CHAP auth: type MS-CHAP Processing the authenticate section of radiusd.conf modcall: entering group MS-CHAP for request 0 rlm_mschap: Told to do MS-CHAPv2 for testuser with NT-Password rlm_mschap: FAILED: MS-CHAP2-Response is incorrect modcall[authenticate]: module mschap returns reject for request 0 modcall: leaving group MS-CHAP (returns reject) for request 0 auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 Going to the next request Thread 1 waiting to be assigned a request rad_recv: Access-Request packet from host 127.0.0.1:32981, id=154, length=151 Sending Access-Reject of id 154 to 127.0.0.1 port 32981 --- Walking the entire request list --- Cleaning up request 0 ID 154 with timestamp 46d95613 Nothing to do. Sleeping until we see a request.- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Help me : rc_read_dictionary: invalid type
Fedora core 5 freeradius-client-1.1.5.tar.bz2 ./confiugre make make install freeradius-1.1.7.tar.gz rpmbuild -bb redhat/freeradius.spec cp /usr/share/freeradius/dictionary.microsoft \ /usr/local/etc/radiusclient vi /usr/local/etc/radiusclient/dictionary INCLUDE /usr/local/etc/radiusclient/dictionary.merit INCLUDE /usr/local/etc/radiusclient/dictionary.microsoft rpm -Uvh pptpd-1.3.3-1.fc5.i386.rpm options.pptpd plugin radius.so radius-config-file /usr/local/etc/radiusclient/radiusclient.conf plugin radattr.so starting connect windows xp tail -f /var/log/messages Aug 27 19:00:59 no1 pptpd[1099]: CTRL: Starting call (launching pppd, opening GRE) Aug 27 19:00:59 no1 pppd[1100]: Plugin radius.so loaded. Aug 27 19:00:59 no1 pppd[1100]: RADIUS plugin initialized. Aug 27 19:00:59 no1 pppd[1100]: Plugin radattr.so loaded. Aug 27 19:00:59 no1 pppd[1100]: RADATTR plugin initialized. Aug 27 19:00:59 no1 pppd[1100]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded. Aug 27 19:00:59 no1 pppd[1100]: pppd 2.4.3 started by root, uid 0 Aug 27 19:00:59 no1 pppd[1100]: Using interface ppp0 Aug 27 19:00:59 no1 pppd[1100]: Connect: ppp0 -- /dev/pts/2 Aug 27 19:01:02 no1 pptpd[1099]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Aug 27 19:01:02 no1 pppd[1100]: rc_read_dictionary: invalid type on line 11 of dictionary /usr/local/etc/radiusclient/dictionary.microsoft Aug 27 19:01:02 no1 pppd[1100]: RADIUS: Can't read dictionary file /usr/local/etc/radiusclient/dictionary Aug 27 19:01:02 no1 pppd[1100]: Peer testuser failed CHAP authentication Aug 27 19:01:02 no1 pppd[1100]: Connection terminated. Aug 27 19:01:02 no1 pppd[1100]: Exit. Aug 27 19:01:02 no1 pptpd[1099]: CTRL: Client 123.xx.xx.xx control connection finished- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
freeradius + mysql + pptpd help me please
Fedora cor 5 freeradius-1.1.7.tar.gz == rpmbuild -bb Redhat\freeradius.spec radiusd.conf == option sql enable options.pptpd plugin radius.so radius-config-file /usr/local/etc/radiusclient/radiusclient.conf plugin radattr.so mysql use raidius; mysql select * from usergroup; +--+---+--+ | UserName | GroupName | priority | +--+---+--+ | testuser | pptpd |1 | +--+---+--+ 1 row in set (0.00 sec) mysql select * from radcheck; ++--+---+++ | id | UserName | Attribute | op | Value | ++--+---+++ | 2 | testuser | User-Password | := | $1$GhlXfa4L$4MU8.SGVhavIVwTtWOWRV1 | ++--+---+++ 1 row in set (0.00 sec) radiusd -xx . Thread spawned new child 1. Total threads in pool: 1 Thread spawned new child 2. Total threads in pool: 2 Thread spawned new child 3. Total threads in pool: 3 Thread spawned new child 4. Total threads in pool: 4 Thread spawned new child 5. Total threads in pool: 5 Thread pool initialized Listening on authentication *:1812 Listening on accounting *:1813 Ready to process requests. Thread 1 waiting to be assigned a request Thread 2 waiting to be assigned a request Thread 3 waiting to be assigned a request Thread 4 waiting to be assigned a request Thread 5 waiting to be assigned a request rad_recv: Access-Request packet from host 127.0.0.1:32772, id=237, length=69 Thread 1 got semaphore --- Walking the entire request list --- Waking up in 31 seconds... Threads: total/active/spare threads = 5/0/5 Thread 1 handling request 0, (1 handled so far) Service-Type = Framed-User Framed-Protocol = PPP User-Name = testuser Calling-Station-Id = 123.xx.xx.xx NAS-IP-Address = 127.0.0.1 NAS-Port = 0 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 0 modcall[authorize]: module preprocess returns ok for request 0 modcall[authorize]: module chap returns noop for request 0 modcall[authorize]: module mschap returns noop for request 0 rlm_realm: No '@' in User-Name = testuser, looking up realm NULL rlm_realm: No such realm NULL modcall[authorize]: module suffix returns noop for request 0 rlm_eap: No EAP-Message, not doing EAP modcall[authorize]: module eap returns noop for request 0 users: Matched entry DEFAULT at line 153 users: Matched entry DEFAULT at line 172 users: Matched entry DEFAULT at line 184 modcall[authorize]: module files returns ok for request 0 radius_xlat: 'testuser' rlm_sql (sql): sql_set_user escaped user -- 'testuser' radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radcheck WHERE Username = 'testuser' ORDER BY id' rlm_sql (sql): Reserving sql socket id: 4 radius_xlat: 'SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,r adgroupcheck.Value,radgroupcheck.op FROM radgroupcheck,usergroup WHERE usergroup.Userna me = 'testuser' AND usergroup.GroupName = radgroupcheck.GroupName ORDER BY radgroupcheck .id' radius_xlat: 'SELECT id, UserName, Attribute, Value, op FROM radreply WHERE Username = 'testuser' ORDER BY id' radius_xlat: 'SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,r adgroupreply.Value,radgroupreply.op FROM radgroupreply,usergroup WHERE usergroup.Userna me = 'testuser' AND usergroup.GroupName = radgroupreply.GroupName ORDER BY radgroupreply .id' rlm_sql (sql): Released sql socket id: 4 modcall[authorize]: module sql returns ok for request 0 rlm_pap: Found existing Auth-Type, not changing it. modcall[authorize]: module pap returns noop for request 0 modcall: leaving group authorize (returns ok) for request 0 rad_check_password: Found Auth-Type System auth: type System Processing the authenticate section of radiusd.conf modcall: entering group authenticate for request 0 rlm_unix: Attribute User-Password is required for authentication. modcall[authenticate]: module unix returns invalid for request 0 modcall: leaving group authenticate (returns invalid) for request 0 auth: Failed to validate the user. Delaying request 0 for 1 seconds Finished request 0 Going to the next request Thread 1 waiting to be assigned a request - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Help me please
Help me please My linux box : Fedora core 5 service want --- freeradius + mysql + pptpd My linux box visit Please rpm build install freeradius 1.1.7 rpm install pptpd 1.3.3 rpm install mysql 5.0.27 dialup admin install mysql db name -- radius ssh : vpn.itx.in user: help123 passwd:help123 root,mysql passwd -- help123 dialup admin url : http://vpn.itx.in/dialup/ passwd -- help123 Thank very much - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html