Thomas Fagart wrote:
> Oups sorry for the previsous non terminated mail
> 
> As I was saying, I would like to supppress attributes in post auth phase,
> I know I can do this with attrs, but I was wondering wether this is
> possible in users file.

  No.  The "users" file has a *limited* set of functionality.

  If you want to do more, see "man unlang".

> By reading man unlang, I should be able to do this with

  No.  See "man users" for the documentation for the "users" file.

> So if I want to remove the attribute User-Name, the following line should
> match
> User-Name -= *,
> or
> User-Name !*,
> 
> Am I wrong ?

  Yes.  Use:

authorize {
        ...
        update reply {
                User-Name -= *
        }
        ...
}

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to