<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Alan,<br>
<br>
This is me again asking for help and you are here to help. So you think
that plain text is not unsecure? I was thinking about it and if my SQL
system is secure, so my tables will be secure too. But, when a client
sends a package in my network, someone else can see this with a
spoofing software?<br>
<br>
So using version 1.1.4 I could not compile it to use MySQL. It always
says that there is no rlm_sql library. I tryied many times, but
nothing... Unfurtunately the documentation is mostly useless or spare...<br>
<br>
Thank you for your time.<br>
<br>
Alan DeKok escreveu:
<blockquote cite="mid45D963A8.2090404@deployingradius.com" type="cite">
<pre wrap="">Nataniel Klug wrote:
</pre>
<blockquote type="cite">
<pre wrap=""> Into radcheck table I have:
mysql> SELECT * FROM radcheck;
+----+----------+----------------+----+----------------------------------+
| id | UserName | Attribute | op | Value |
+----+----------+----------------+----+----------------------------------+
| 1 | teste | Crypt-Password | == | 42cbf4730aeac1d645324d4818104826 |
+----+----------+----------------+----+----------------------------------+
</pre>
</blockquote>
<pre wrap=""><!---->
Use ':=', not '=='. See the rlm_sql documentation for why.
</pre>
<blockquote type="cite">
<pre wrap=""> The password was encrypted using PHP MD5 command and should be 8872.
But when I use a radtest command the respose of my Radius is:
</pre>
</blockquote>
<pre wrap=""><!---->
Hmm.. Crypt-Password is for Unix crypt'd passwords, not MD5 hashed
passwords.
</pre>
<blockquote type="cite">
<pre wrap=""> I made the same in debug mode and radius just not get the password.
I think it is not testing the 8872 password to see if it matches de MD5
crypt. I tryed with "42cbf4730aeac1d645324d4818104826" as a password and
it returned OK for the request. How can I do this work? I need that into
MySQL table I have a crypted password (for security reasons)
</pre>
</blockquote>
<pre wrap=""><!---->
I disagree, but that's another story.
</pre>
<blockquote type="cite">
<pre wrap="">and I need
that my clients can put a simple text password.
</pre>
</blockquote>
<pre wrap=""><!---->
In 1.1.4, you can put this into SQL:
Password-With-Header := "{md5}42cbf4730aeac1d645324d4818104826"
That should work with the default config.
Alan DeKok.
--
<a class="moz-txt-link-freetext" href="http://deployingradius.com">http://deployingradius.com</a> - The web site of the book
<a class="moz-txt-link-freetext" href="http://deployingradius.com/blog/">http://deployingradius.com/blog/</a> - The blog
-
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>
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 </pre>
</body>
</html>