users file case sensitive

Fajar A. Nugraha list at fajar.net
Wed Sep 19 09:38:48 CEST 2012


On Wed, Sep 19, 2012 at 2:24 PM, Gregg Douglas <douglagm at gmail.com> wrote:
> Hi,
>
> If I use the suggestion as follows in the my files file, the users file is
> still case sensitive:
>
> myfiles {
>                 key = "%{lower:%{User-Name}}"
>         }
>
>
> In the users file the username is all lower case - piet
>
> piet LDAP-Group=="radius", Auth-Type:=Accept
>         Reply-Message="You are allowed to connect",
>         Framed-IP-Address = x.x.x.x,
>         Fall-Through = Yes
>
>
> When I use ntradping with the username all in lower case - piet, I get the
> following:
>
> ++[ldap] returns ok
> ++[exec] returns noop
> Sending Access-Accept of id 5 to y.y.y.y port 50018
>         Reply-Message = "You are allowed to connect"
>         Framed-IP-Address = x.x.x.x


The useful part is actually above that. The one from authorize, which
says something like "++[files] returns updated" or something.

Also, did you have "myfiles" in your authorize section, or do you
still use "files"?

-- 
Fajar


More information about the Freeradius-Users mailing list