[RADIATOR] Radius Accounting to LDAP and Radius server

eliran shlomo eliranshlomo at gmail.com
Mon Jul 30 03:44:04 CDT 2012


Hi,
I'm trying to set multiple accounting respond but something isn't clear to
me.
currently now the radius using AuthBy LDAP2, and i want that the accounting
respond after the authentication will be send to another accounting server.

i set this up for now

<AuthBy LDAP2>
        Identifier LDAP_User
        EAPType MD5
        # Tell Radiator how to talk to the LDAP server
        include %{GlobalVar:CONFIGROOT}/include/Use_LDAP.inc
        include %{GlobalVar:CONFIGROOT}/include/LDAP_User.inc
        include %{GlobalVar:CONFIGROOT}/include/LDAP_User_PostSearchHook.inc
</AuthBy>

<AuthBy RADIUS>
        NoForwardAuthentication
        Host **************
        AcctPort 1813
        FailureBackoffTime 180
        Retries 1
        RetryTimeout 3
        Secret secret
</AuthBy>

and this is the handler

<Handler Request-Type=Accounting-Request, Acct-Status-Type =
/^(Start|Stop)/>
        include %{GlobalVar:CONFIGROOT}/include/RewriteUsername.inc
        PostProcessingHook file:"%{GlobalVar:CONFIGROOT}/include/
write-start-file.pl"
        SessionDatabase SDB1
        AccountingHandled
        AcctLogFileName %{GlobalVar:DETAILDIR}/%c/detail-%Y%m%d.csv
        AcctLogFileFormat  \
                %{User-Name},%{Acct-Session-Id},%{Framed-IP-Address},\

%{Calling-Station-Id},%{Called-Station-Id},%{NAS-IP-Address},\
                %{NAS-Port-Type},%{NAS-Port},%{Acct-Status-Type},\
                %{Tunnel-Server-Endpoint},%{Tunnel-Client-Endpoint},\
                %{Tunnel-Server-Auth-ID},%{Tunnel-Client-Auth-ID},\

%{RB-Context-Name},%{Acct-Input-Octets},%{Acct-Output-Octets},\
                %{Acct-Input-Gigawords},%{Acct-Output-Gigawords},\
                %{RB-QoS-Metering-Profile-Name},%{Acct-Terminate-Cause},\
                %{Acct-Session-Time},%{Event-Timestamp},\
                %{Acct-Authentic},%{Acct-Delay-Time},\
                %{Acct-Input-Packets},%{Acct-Output-Packets},\
                %{Framed-Protocol},%{Service-Type}

</Handler>

any idea how to continue from here?
kinda get lost...

Best regards,

Eliran
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open.com.au/pipermail/radiator/attachments/20120730/a34bb935/attachment.html 


More information about the radiator mailing list