check out attr_rewrite.

        attr_rewrite nodomain {
                attribute = Realm
                searchin = packet
                searchfor = "NULL"
                replacewith = "mydomain.com"
                ignore_case = yes
                new_attribute = no
                max_matches = 10
                append = no
        }

On Wed, 19 Mar 2003, Alain Cocconi wrote:

> Hi everybody,
>
> I'm currently checking if it is possible for me to switch fromicradius+my
> patches to freeradius.
> One of the features i need but not find in doc/mailing list is :
>
>       I need to add a realm to all user without it.
>
>       remote username sended          will become
> ex:   johndue                         --> [EMAIL PROTECTED]
>       [EMAIL PROTECTED]       --> [EMAIL PROTECTED]
>       [EMAIL PROTECTED]       --> [EMAIL PROTECTED]
>
>
> I've search a lot in archives and docs but not find answer for this.
>
> tia guys
> Alain Cocconi
>
> SATNET SARL
> BP 2694
> NOUMEA CEDEX
> Nouvelle Caledonie
> Phone : +687 24 38 70
> Fax     : +687 27 12 50
>
>
> -
> 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