<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">I have backup from working server but still not working </div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Please find the log:</div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">success Log:</div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><div><font class="Apple-style-span"
face="'times new roman', 'new york', times, serif">Ready to process requests.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rad_recv: Access-Request packet from host 127.0.0.1 port 52710, id=55, length=59</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>User-Name = "rajnish"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>User-Password = "rajnish123"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>NAS-IP-Address = x.x.x.x</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre">
</span>NAS-Port = 0</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"># Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">+- entering group authorize {...}</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[preprocess] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[chap] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[digest] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[suffix] No '@' in User-Name = "rajnish", looking up realm NULL</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times,
serif">[suffix] No such realm "NULL"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[suffix] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[eap] No EAP-Message, not doing EAP</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[eap] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[files] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: %{User-Name} -> rajnish</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] sql_set_user escaped user --> 'rajnish'</font></div><div><font class="Apple-style-span" face="'times new roman', 'new
york', times, serif">rlm_sql (sql): Reserving sql socket id: 3</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = BINARY '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radcheck WHERE username = BINARY 'rajnish' ORDER BY id</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] User found in radcheck table</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand:
SELECT id, username, attribute, value, op FROM radreply WHERE username = BINARY '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radreply WHERE username = BINARY 'rajnish' ORDER BY id</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT groupname FROM usergroup WHERE username = BINARY '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM usergroup WHERE username = BINARY 'rajnish'
ORDER BY priority</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id -> SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '128kbps_Unlimited' ORDER BY id</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] User found in group 128kbps_Unlimited</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span
class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{Sql-Group}' ORDER BY id -> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '128kbps_Unlimited' ORDER BY id</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_sql (sql): Released sql socket id: 3</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[sql] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_checkval: Could not find item named
Calling-Station-Id in request</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_checkval: Could not find attribute named Calling-Station-Id in check pairs</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[station-check] returns notfound</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_checkval: Could not find item named NAS-Identifier in request</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_checkval: Could not find attribute named NAS-Identifier in check pairs</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[NAS-check] returns notfound</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[expiration] Checking Expiration time: '18 Jan
2012'</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[expiration] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_logintime: Checking Login-Time: 'Su-Sa0000-2400'</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_logintime: timestr returned unlimited</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[logintime] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[pap] returns updated</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_sqlcounter: Entering module authorize code</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_sqlcounter: Could not find Check item value
pair</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[noresetcounter] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Found Auth-Type = PAP</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"># Executing group from file /usr/local/etc/raddb/sites-enabled/default</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">+- entering group PAP {...}</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[pap] login attempt with password "rajnish123"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[pap] Using clear text password "rajnish123"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[pap] User authenticated
successfully</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[pap] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"># Executing section session from file /usr/local/etc/raddb/sites-enabled/default</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">+- entering group session {...}</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[radutmp] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: /usr/local/var/log/radius/radutmp -> /usr/local/var/log/radius/radutmp</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[radutmp] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: %{User-Name} -> rajnish</font></div><div><font class="Apple-style-span" face="'times new
roman', 'new york', times, serif">rlm_radutmp: Failed to check the terminal server for user 'rajnish'.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[radutmp] returns fail</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"># Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">+- entering group post-auth {...}</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[exec] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Sending Access-Accept of id 55 to 127.0.0.1 port 52710</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span"
style="white-space:pre"> </span>Idle-Timeout := 600</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>Session-Timeout = 20618797</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Finished request 0.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Going to the next request</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Waking up in 4.9 seconds.</font></div></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Failure
Log:</div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Ready to process requests.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rad_recv: Access-Request packet from host 127.0.0.1 port 58102, id=246, length=55</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>User-Name = "bob"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>User-Password = "bob"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>NAS-IP-Address =
x.x.x.x</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><span class="Apple-tab-span" style="white-space:pre"> </span>NAS-Port = 0</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"># Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">+- entering group authorize {...}</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[preprocess] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[chap] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[digest] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times,
serif">[suffix] No '@' in User-Name = "bob", looking up realm NULL</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[suffix] No such realm "NULL"</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[suffix] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[eap] No EAP-Message, not doing EAP</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[eap] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[files] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: %{User-Name} -> bob</font></div><div><font class="Apple-style-span" face="'times new roman',
'new york', times, serif">[sql] sql_set_user escaped user --> 'bob'</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_sql (sql): Reserving sql socket id: 3</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT id, username, attribute, value, op FROM radcheck WHERE username = BINARY '%{SQL-User-Name}' ORDER BY id -> SELECT id, username, attribute, value, op FROM radcheck WHERE username = BINARY 'bob' ORDER BY id</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre">
</span>expand: SELECT groupname FROM usergroup WHERE username = BINARY '%{SQL-User-Name}' ORDER BY priority -> SELECT groupname FROM usergroup WHERE username = BINARY 'bob' ORDER BY priority</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{Sql-Group}' ORDER BY id -> SELECT id, groupname, attribute, Value, op FROM radgroupcheck
WHERE groupname = '256kbps_Unlimited' ORDER BY id</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] User found in group 256kbps_Unlimited</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[sql] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{Sql-Group}' ORDER BY id -> SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '256kbps_Unlimited' ORDER BY id</font></div><div><font
class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_sql (sql): Released sql socket id: 3</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[sql] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_checkval: Could not find item named Calling-Station-Id in request</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_checkval: Could not find attribute named Calling-Station-Id in check pairs</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[station-check] returns notfound</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_checkval: Could not find item named NAS-Identifier in request</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york',
times, serif">rlm_checkval: Could not find attribute named NAS-Identifier in check pairs</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[NAS-check] returns notfound</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[expiration] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_logintime: Checking Login-Time: 'Su-Sa0000-2400'</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_logintime: timestr returned unlimited</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[logintime] returns ok</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[pap] WARNING! No "known good" password found for the user. Authentication may fail because of
this.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[pap] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_sqlcounter: Entering module authorize code</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">rlm_sqlcounter: Could not find Check item value pair</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[noresetcounter] returns noop</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Failed to authenticate the user.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times,
serif">Using Post-Auth-Type Reject</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"># Executing group from file /usr/local/etc/raddb/sites-enabled/default</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">+- entering group REJECT {...}</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">[attr_filter.access_reject] <span class="Apple-tab-span" style="white-space:pre"> </span>expand: %{User-Name} -> bob</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"> attr_filter: Matched entry DEFAULT at line 11</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">++[attr_filter.access_reject] returns updated</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Delaying reject of
request 0 for 1 seconds</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Going to the next request</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Waking up in 0.9 seconds.</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Sending delayed reject for request 0</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Sending Access-Reject of id 246 to 127.0.0.1 port 58102</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Waking up in 4.6 seconds.</font></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br></div><div style="color: black;
font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Rgds,</div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">John</div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Fajar A. Nugraha <list@fajar.net><br><b><span style="font-weight: bold;">To:</span></b> FreeRadius users mailing list <freeradius-users@lists.freeradius.org><br><b><span style="font-weight: bold;">Sent:</span></b> Tue, May 24, 2011 8:15:42 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: Authentication Problem<br></font><br>
On Tue, May 24, 2011 at 9:20 AM, john decot <<a ymailto="mailto:johndecot@yahoo.com" href="mailto:johndecot@yahoo.com">johndecot@yahoo.com</a>> wrote:<br>> Hi ,<br>> I have been using freeradius-server-2.1.10 . Dialupadmin is using for web<br>> based administration. It was working fine till yesterday. I have changed<br>> added attribute to check Max-All-Session. Then I have face problem of<br>> No authenticate method (Auth-Type) found for the request: Rejecting the<br>> user<br><br>Max-All-Session alone should not cause that<br><br>><br>> however the authorized section is working fine. After googling i have check<br>> with option default Auth-Type = Local but it was not success.<br><br>Normally you should never have to mess with Auth-Type, unless you're<br>doing some exotic setup (like LDAP bind with fallback to system user)<br><br>> this error<br>> occurs for new create user only , old
user are authenticating normally.<br>><br>> I have revert back my changes with removing attribute to check<br>> Max-All-Session but still the error exists.<br><br>... which again, simply confirms that Max-All-Session was not the<br>cause of the problem<br><br>><br>> Please advise me.<br><br>You have changed something else and made it broken. Reverse that.<br>I use git to record changes in /etc/raddb so I can have a record of<br>what have changed. You might need something similar.<br><br>In the mean time, see<br><span><a target="_blank" href="http://wiki.freeradius.org/index.php/FAQ#It_still_doesn.27t_work.21">http://wiki.freeradius.org/index.php/FAQ#It_still_doesn.27t_work.21</a></span><br>Since you say only some users experience it, compare the log for both<br>the working and non-working user.<br><br>-- <br>Fajar<br><br>-<br><span>List info/subscribe/unsubscribe? See <a target="_blank"
href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a></span><br></div></div><div style="color: black; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; position: fixed; "></div>
</div></body></html>