<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear sir<br>
<br>
I try search about unlang and write it to accept user even though wrong
password and chap reject.<br>
i need to set wrong password user to ip group and then redirect them to
html explain about the problem.<br>
<br>
<br>
<br>
i try this unlang in chap<br>
<br>
<br>
authenticate {<br>
# <br>
# PAP authentication, when a back-end database listed<br>
# in the 'authorize' section supplies a password. The<br>
# password can be clear-text, or encrypted.<br>
Auth-Type PAP {<br>
pap<br>
}<br>
<br>
#<br>
# Most people want CHAP authentication<br>
# A back-end database listed in the 'authorize' section<br>
# MUST supply a CLEAR TEXT password. Encrypted passwords<br>
# won't work.<br>
Auth-Type CHAP {<br>
chap<br>
<br>
<br>
if (reject) {<br>
<br>
update reply {<br>
<br>
Framed-IP-Address = "13.0.0.0+"<br>
Framed-IP-Netmask = "255.255.255.0"<br>
<br>
}<br>
<br>
update control {<br>
Auth-Type := "Accept"<br>
<br>
}<br>
}<br>
<br>
}<br>
<br>
<br>
and it 's not work...<br>
<br>
Could any one point me how to solve this?<br>
Or what i should change on if (reject) { <br>
Or What section should it put this unlang.<br>
<br>
Or give me some unlang scripts.<br>
<br>
<br>
Thank you in advance.<br>
<br>
<br>
<br>
<div class="moz-signature">-- <br>
<a href="http://www.EasyHorpak.com" target="_blank">http://www.EasyHorpak.com</a>
- แหล่งค้นหาหอพัก,อพาร์ทเมนท์,แมนชั่น,คอนโด,โรงแรม<br>
<a href="http://www.EasyZoneCorp.net" target="_blank">http://www.EasyZoneCorp.net</a>
- ซอฟแวร์จัดการ internet คุณภาพสูง Hotpsot และ PPPoE ,Anti NetCut, Mac
spoof<br>
<a href="http://www.thai-school.net" target="_blank">http://www.thai-school.net</a>
- เว็บไซต์โรงเรียน,ศิษย์เก่า สำเร็จรูป <br>
<a href="http://www.easyhorpak.com/superlink" target="_blank">EasyZone
SuperLink </a> - แลกหมื่นลิ้งคืในคลิ๊กเดียว <br>
</div>
</body>
</html>