[EMAIL PROTECTED] wrote:
> LS
> 
> How about accounting, when the disconnect frame enters.

I've try to put there but what happen is that...
the users, get an ip and the the ip being release
Because account will be process after post-auth.

Any more idea?

regards
Chan Min Wai

>  
> 
> 
>>-----Original Message-----
>>From: [EMAIL PROTECTED] 
>>[mailto:[EMAIL PROTECTED] On 
>>Behalf Of Chan Min Wai
>>Sent: Monday, March 07, 2005 10:26
>>To: [email protected]
>>Subject: script to run when a users is logging out?
>>
>>
>>Hello all,
>> I know the script need to be define in the exec {}
>>
>>And the script before users login is put into post-auth, what 
>>about the
>>script after users logout or Just before users logout?
>>
>>Anyone have any idea?
>>
>>Below is the script that someone help me to control dhcp with 
>>radius...
>>
>>To remove is easy Just set name and then keyin remove.
>>
>>==================================
>>
>># !/usr/bin/bash
>>tr=`which tr`
>>omshell=`which omshell`
>>
>>
>>IPADD=$FRAMED_IP_ADDRESS
>>NETMASK=$FRAMED_IP_NETMASK
>>MACADD=`echo $1| tr - :| tr [:upper:] [:lower:]`
>>NASADD=$2
>>
>>
>>echo $IPADD $NETMASK $MACADD $NASADD >> /tmp/radtest
>>#creating a file to execute a value with omshell
>>cat << ! > /tmp/radtest.add
>>server 202.73.8.65
>>port 5901
>>connect
>>new host
>>set name = "$MACADD"
>>set hardware-address = $MACADD
>>set hardware-type = 1
>>set ip-address = $IPADD
>>create
>>!
>>omshell < /tmp/radtest.add
>>
>>- 
>>List info/subscribe/unsubscribe? See 
>>http://www.freeradius.org/list/users.html
>>
> 
> 
> 
> -----------------------------------------------------------------
> ATTENTION:
> The information in this electronic mail message is private and
> confidential, and only intended for the addressee. Should you
> receive this message by mistake, you are hereby notified that
> any disclosure, reproduction, distribution or use of this
> message is strictly prohibited. Please inform the sender by
> reply transmission and delete the message without copying or
> opening it.
> 
> Messages and attachments are scanned for all viruses known.
> If this message contains password-protected attachments, the
> files have NOT been scanned for viruses by the ING mail domain.
> Always scan attachments before opening them.
> -----------------------------------------------------------------
> 
> 
> - 
> 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