<br><br><div class="gmail_quote">On Wed, Sep 19, 2012 at 9:42 AM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Gregg Douglas wrote:<br>
> Hi,<br>
><br>
> If I use the suggestion as follows in the my files file, the users file<br>
> is still case sensitive:<br>
><br>
>     myfiles {<br>
<br>
  That is not quite correct.<br>
<br>
  You can edit the default "files" configuration.  It has a<br>
commented-out example of using the key.  Uncomment it, and replace it<br>
with the text below.<br>
<br>
>                     key = "%{lower:%{User-Name}}"<br>
...<br></blockquote><div><br></div><div>I have added the line, files content:</div><div><br></div><div><div>files {</div><div>        key = "%{lower:%{User-Name}}"</div><div>        usersfile = ${confdir}/users</div>
<div>        acctusersfile = ${confdir}/acct_users</div><div>        preproxy_usersfile = ${confdir}/preproxy_users</div><div>        compat = no</div><div>}</div></div><div><br></div><div> Ran radiusd -XX</div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">
<div class="gmail_quote"><div><div>Wed Sep 19 11:18:59 2012 : Info: [files] WARNING: Unknown module "lower" in string expansion "%{lower:%{User-Name}}"</div></div></div><div class="gmail_quote"><div><div>
Wed Sep 19 11:18:59 2012 : Info: [files]        expand: %{lower:%{User-Name}} -> </div></div></div><div class="gmail_quote"><div><div>Wed Sep 19 11:18:59 2012 : Debug: rlm_ldap: Entering ldap_groupcmp()</div></div></div>
<div class="gmail_quote"><div><div>Wed Sep 19 11:18:59 2012 : Info: [files]        expand: o=USERS -> o=USERS</div></div></div><div class="gmail_quote"><div><div>Wed Sep 19 11:18:59 2012 : Info: [files] WARNING: Deprecated conditional expansion ":-".  See "man unlang" for details</div>
</div></div><div class="gmail_quote"><div><div>Wed Sep 19 11:18:59 2012 : Info: [files]        expand: (cn=%{Stripped-User-Name:-%{User-Name}}) -> (cn=PIET)</div></div></div></blockquote><div class="gmail_quote"><div><br>
</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> When I use ntradping with the username all in upper case - PIET, I get<br>
> the following:<br>
<br>
  Well, read the full debug log to see what's going on.  Is it parsing<br>
the "key" field?  Is it using the "myfiles" module instead of "file </blockquote></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br>
  The underlying code in the "files" module is case-sensitive.  So if<br>
you get the case right, and configured right, then it should work.<br>
<span class="HOEnZb"><font color="#888888"><br>
  Alan DeKok.<br>
-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</font></span></blockquote></div><br>