I need to cancel or to active a user with a new attrib "Canceled" that I have added to radcheck table, in the authenticate stage.

Ivan Kalik tnt at kalik.net
Wed Jun 25 12:16:12 CEST 2008


If you are using just SQL you don't need a new attribute. You should
make a group for cancelled/suspended users that has Auth-Type Reject
forced and add/switch users to it.

If you are using users file as well you can use this new attribute:

DEFAULT   Calcelled == "yes", Auth-Type := Reject

Ivan Kalik
Kalik Informatika ISP


Dana 25/6/2008, "Jose Maira Iranzo Marin" <kutul at simauria.net> piše:

>I need to cancel or to active a user with a new attrib “Canceled” that I
>have added to radcheck table, in the authenticate stage.
>
>But I don’t know if this method is the correct.
>
> 
>
>Can you help me?
>
> 
>
> 
>
>   Un saludo 
>
>------------------------------------------------------------ 
>    Jose María Iranzo Marín ---------- HYPERLINK
>"mailto:jmiranzo at simauria.net"jmiranzo at simauria.net 
>------------------------------------------------------------ 
>       Simauria Networks - HYPERLINK
>"http://www.simauria.net"www.simauria.net 
>       C/ Velázquez, 24 bajo. 46018 Valencia 
>    Tlf: +34 902.877.206 - Fax: +34 902.929.028 
>-------------------------------------------------------------
>
> 
>
>
>No virus found in this outgoing message.
>Checked by AVG. 
>Version: 7.5.524 / Virus Database: 270.4.0/1509 - Release Date: 19/06/2008
>8:00
> 
>
>




More information about the Freeradius-Users mailing list