28 Nov
2005
28 Nov
'05
11:52 a.m.
florian broder <flobroed@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.