Hi Chan,

The patch is really basic :

## -- begin ---
--- /usr/local/nocat/lib/NoCat/Source/RADIUS.pm 2004-02-26 10:46:41.000000000 +0100
+++ /usr/share/nocatauth/authserv/lib/NoCat/Source/RADIUS.pm 2004-06-25 13:39:12.000000000 +0200
@@ -85,8 +85,8 @@
# mimic the check_pwd from Authen::Radius
$radius->clear_attributes;
$radius->add_attributes (
- { Name => 1, Value => $user->id },
- { Name => 2, Value => $user_pw }
+ { Name => 1, Value => $user->id, Type => 'string' },
+ { Name => 2, Value => $user_pw, Type => 'string' }
);


       my $radiuscheckok = 0;

## -- end ---

I do it myself
you can add all attributes you need , for example , i need the NAS-IP-ADDRESS to match with huntgroup + sql back end .
If you need tips , let me know


Regards
Thomas MARCHESSEAU



Chan Min Wai wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thomas MARCHESSEAU wrote:


HI all,

Nocat rocks with Freeradius. I just have pb with RADIUS.pm

Try this one, and let me know if its ok for you .

Btw , Chilli woks nice too.

Regards
Thomas MARCHESSEAU




However, I'm using chillispot at the time... But Thank for the script, it seem to be the one that you are having is a bit different.

Could you please tell me where do you get the patch?

Regards,
Chan Min Wai
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFCHowCV0p9slMZLW4RAgTZAKDjeFrJhlTdC2s3p+5XNpt9y5jOvwCg2IAt
aT/nZ1iirOerEvlBBJoi9iA=
=eg5O
-----END PGP SIGNATURE-----

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html




- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to