<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
I would like to have this easy configuration but this is not possible
at the moment. Lazy = spend a lot of money... yes I am lazy... ;)<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:tnt@kalik.net">tnt@kalik.net</a> escreveu:
<blockquote cite="mid:vfPMSNbb.1229420067.3445950.tnt@kalik.net"
 type="cite">
  <pre wrap="">I can't possibly imagine that there can be any reason for not adding mac
address as another user apart from being lazy.

Ivan Kalik
Kalik Informatika ISP


Dana 16/12/2008, "Leigh Martell" <a class="moz-txt-link-rfc2396E" href="mailto:leigh.martell@gmail.com"><leigh.martell@gmail.com></a> pi¹e:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I completely agree with you! I am still curious to why adding a user is not
an option though. Hopefully we will be "enlightened" as to why it is not an
option.

2008/12/15 <a class="moz-txt-link-rfc2396E" href="mailto:tnt@kalik.net"><tnt@kalik.net></a>

    </pre>
    <blockquote type="cite">
      <pre wrap="">To be fair, there probably is a way to create an unlang hack (are we
going to advocate unlang auth now) that can tie up mac address from the
user entry with the one in the mac auth request (regexp check if
username is mac address; if it is see if there is such mac address in
the database and force Auth-Type Accept; there was some mention of the
password, but that can be sorted as well) without breaking everything
else on the server.

But why? If you can create user entry and add mac address as an attribute
value it requires minimal effort on user admin side to create an entry
with mac address as username value at the same time. A simple additional
insert. Even if it is a closed code solution that you can't change, you
can always make two entries - one for the user as username and one with
mac address as username.

Be honest, if your user admin application can't do what you want, should
you:

- hack your radius server?

- hack your user admin application?

It is credit to the quality and flexibility of Freeradius that messing
with the radius server comes up as an option at all.

Ivan Kalik
Kalik Informatika ISP

Dana 15/12/2008, "Leigh Martell" <a class="moz-txt-link-rfc2396E" href="mailto:leigh.martell@gmail.com"><leigh.martell@gmail.com></a> pi¹e:

      </pre>
      <blockquote type="cite">
        <pre wrap="">Well thats not entirely true; you can create an association table(if thats
the right term) which has id,username, mac and then edit your query with
some joins and additional magic...I would not suggest this but it is
possible just very messy. I would highly recommend doing this the
traditional way...at least if you value your sanity ;-).

--
Leigh

On Mon, Dec 15, 2008 at 4:22 PM, <a class="moz-txt-link-rfc2396E" href="mailto:tnt@kalik.net"><tnt@kalik.net></a> wrote:

        </pre>
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">In my case I can't look for MAC in Username field and I have to look
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
      <pre wrap="">for
      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">that mac in Value field. Hope that have a way to make this happens.

            </pre>
          </blockquote>
          <pre wrap="">You don't seem to get the problem. You have set up your AP to do mac
authentication. When you do that, mac address is sent in the username
filed. If you don't want that, don't set your AP to do mac auth. Set
it to do user authentication. When you are doung user auth, mac address
should appear as Calling-Station-Id (should).

There is *nothing* you can do in freeradius that will make your AP do
this. You have to configure the AP to do that.

Ivan Kalik
Kalik Informatika ISP

-
List info/subscribe/unsubscribe? See
<a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>

          </pre>
        </blockquote>
        <pre wrap="">
        </pre>
      </blockquote>
      <pre wrap="">-
List info/subscribe/unsubscribe? See
<a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
-
List info/subscribe/unsubscribe? See <a class="moz-txt-link-freetext" href="http://www.freeradius.org/list/users.html">http://www.freeradius.org/list/users.html</a>

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Att,

NATANIEL KLUG
<a class="moz-txt-link-abbreviated" href="mailto:nata@cnett.com.br">nata@cnett.com.br</a>

LEIA O DIA-A-DIA DO NATA
<a class="moz-txt-link-freetext" href="http://nataklug.blogspot.com/">http://nataklug.blogspot.com/</a>

Cyber Nett - Internet Banda Larga
<a class="moz-txt-link-abbreviated" href="http://www.cnett.com.br">www.cnett.com.br</a>
(42) 3635-2957
Rua Diogo Pinto, 1046, Centro
Laranjeiras do Sul - PR
Brasil - 85301-290

"... também os sábios possuem coração tangível e podem, por vezes, usar da ciência como meio de demonstrar impressões sentimentais de que muitos não os julgam suscetíveis."
Visconde de Taunay</pre>
</body>
</html>