unlang after chap returns reject
Arran Cudbard-Bell
A.Cudbard-Bell at sussex.ac.uk
Wed Dec 16 18:58:22 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
chap {
reject = 1
}
>
> I try search about unlang and write it to accept user even though wrong
> password and chap reject.
> i need to set wrong password user to ip group and then redirect them to
> html explain about the problem.
>
>
>
> i try this unlang in chap
>
>
> authenticate {
> #
> # PAP authentication, when a back-end database listed
> # in the 'authorize' section supplies a password. The
> # password can be clear-text, or encrypted.
> Auth-Type PAP {
> pap
> }
>
> #
> # Most people want CHAP authentication
> # A back-end database listed in the 'authorize' section
> # MUST supply a CLEAR TEXT password. Encrypted passwords
> # won't work.
> Auth-Type CHAP {
> chap
>
>
> if (reject) {
>
> update reply {
>
> Framed-IP-Address = "13.0.0.0+"
> Framed-IP-Netmask = "255.255.255.0"
>
> }
>
> update control {
> Auth-Type := "Accept"
>
> }
> }
>
> }
>
>
> and it 's not work...
>
> Could any one point me how to solve this?
> Or what i should change on if (reject) {
> Or What section should it put this unlang.
>
> Or give me some unlang scripts.
>
>
> Thank you in advance.
>
>
>
> --
> http://www.EasyHorpak.com - แหล่งค้นหาหอพัก,อพาร์ทเมนท์,แมนชั่น,คอนโด,โรงแรม
> http://www.EasyZoneCorp.net - ซอฟแวร์จัดการ internet คุณภาพสูง Hotpsot และ
> PPPoE ,Anti NetCut, Mac spoof
> http://www.thai-school.net - เว็บไซต์โรงเรียน,ศิษย์เก่า สำเร็จรูป
> EasyZone SuperLink <http://www.easyhorpak.com/superlink> - แลกหมื่นลิ้งคืในค
> ลิ๊กเดียว
>
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- --
Arran Cudbard-Bell <A.Cudbard-Bell at sussex.ac.uk>,
Systems Administrator (AAA),
Infrastructure Services (IT Services),
E1-1-08, Engineering 1, University Of Sussex, Brighton, BN1 9QT
DDI+FAX: +44 1273 873900 | INT: 3900
GPG: 86FF A285 1AA1 EE40 D228 7C2E 71A9 25BB 1E68 54A2
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkspH74ACgkQcaklux5oVKLE+gCePfzCo4HQSXidGjotxSMS42ic
8IUAmwVLU44TbE/Ezz3FiS84vrarFwEF
=acnc
-----END PGP SIGNATURE-----
More information about the Freeradius-Users
mailing list