users file case sensitive

Gregg Douglas douglagm at gmail.com
Wed Sep 19 11:50:30 CEST 2012


On Wed, Sep 19, 2012 at 9:38 AM, Fajar A. Nugraha <list at fajar.net> wrote:

> 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"?
>

Using the "files"


>
> --
> Fajar
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120919/0f69e27e/attachment.html>


More information about the Freeradius-Users mailing list