Hi list,

I have 2 questions:

1/ I'll have to proxy auth requests to a client's home radius. He is just
allowed to check the user's username/password.
 I know how to filter attributes using attrs and the post-proxy section of
radiusd.conf. But I don't know how to ADD attributes, like
Framed-IP-Address for example.
 User-Name isn't sent back from the home radius to the proxy radius in
the Access-Accept, thus I can't make any sql query (I use mysql backend)
based on the username to get the Framed-IP-Address I want to assign to
the users.
 I could do a sql query in the pre-proxy section (don't know if it's ok,
because you can't use the sql module in post-proxy) but I don't want to
send anything else than UserName and Password to the client's home
radius.

Any idea how I could do that ?

2/ when I try to use example.pl in the post-proxy section I get the
following error:

Can't load '/usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so' for module 
Data::Dumper: /usr/lib/perl/5.8/auto/Data/Dumper/Dumper.so: undefined symbol: 
Perl_sv_cmp at /usr/lib/perl/5.8/XSLoader.pm line 68.
at /usr/lib/perl/5.8/Data/Dumper.pm line 27
Compilation failed in require at /usr/local/libexec/post-proxy.pl line 31.
BEGIN failed--compilation aborted at /usr/local/libexec/post-proxy.pl line 31.

Doesn't look that there's any problem with the perl script (the script doesn't
do anything actually, it's just for testing purpose):

[EMAIL PROTECTED] :/etc/freeradius#/usr/local/libexec/post-proxy.pl
[EMAIL PROTECTED] :/etc/freeradius#

I'm a real *dick* a perl programming, I guess the problem might be a
pebcak, but maybe it's not.

I'm using FR 1.1.2 with Debian Sarge.

Thanks for any hint.

regards,
Fox.

Attachment: signature.asc
Description: Digital signature

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

Reply via email to