SQL Mac-Authentication based on Call-Check

Alan DeKok aland at ox.org
Mon Nov 28 17:52:20 CET 2005


florian broder <flobroed at googlemail.com> wrote:
> Can I use that "DEFAULT" to tell freeradius, that there is no user-name in
> the access-request packet? I mean "Else use User-Name, if it's there,"
> suggest, that the field "user-name" MAY be empty?!

  Yes.  That's why it's there.  See doc/variables.txt, which explains
all of this.  Even the comments you quoted explained this:

>     #    Use Stripped-User-Name, if it's there.
>     #    Else use User-Name, if it's there,
>     #    Else use hard-coded string "DEFAULT" as the user name.

  So... "DEFAULT" is only used if no User-Name existed.

  Alan DeKok.




More information about the Freeradius-Users mailing list