Re: Proxy accounting after query LDAP

This is a discussion on Re: Proxy accounting after query LDAP within the FreeRADIUS Users forums, part of the Networking and Network Related category; any suggestion on below.. --haizam ----- Original Message ----- From: "Rohaizam Abu Bakar" <haizam@myjaring.net> To: "...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-23-2007
Rohaizam Abu Bakar
 
Posts: n/a
Default Re: Proxy accounting after query LDAP


any suggestion on below..

--haizam

----- Original Message -----
From: "Rohaizam Abu Bakar" <haizam@myjaring.net>
To: "FreeRadius users mailing list" <freeradius-users@lists.freeradius.org>
Sent: Monday, January 22, 2007 2:26 PM
Subject: Proxy accounting after query LDAP


> FR: freeradius-1.1.2
> OD: FreeBSD 6.0
>
> trying to query LDAP for certain attribute.. if found, then proxy
> accounting to other server if not store accounting locally.
> trying using rlm_perl as below:-
>
>
>
> i) radiusd.conf
>
> perl y5perl {
> module = /usr/local/etc/raddb/y5perl.pl
> }
>
> accounting {
> ......
> y5perl
> }
>
>
> ii) y5perl.pl
>
> sub accounting {
> # For debugging purposes only
> &log_request_attributes;
>
> # You can call another subroutine from here
> &test_call;
> &wifi_infranet;
>
> return RLM_MODULE_OK;
> }
>
> sub wifi_infranet {
>
> ## some code to query ldap for attribute A
>
> if (A) {
>
> ## What should i put here to force proxy accounting to other server??
>
> }
>
>
>
> Any other method??
>
> TQ..
>
>
> --haizam
> - 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 With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:04 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0