<div dir="ltr">sorry man, u didnt help.<div>i tryed 1000 things and this actual configurations is the best i can make.</div><div>why instead so be rude with me dont try to realy help me? like send me you default file or the orthers file to config?</div>
<div><br></div><div>i dindt do anything without to fallow guides on internet. im trying to learn how to do.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/3/14 Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="mailto:fernando.sg1@gmail.com">fernando.sg1@gmail.com</a> wrote:<br>
> *now i've a problem, and this is making me crazy!*<br>
> *i change the /module/LDAP and now i can authenticate using plaintext or<br>
> when i use the passwordwith {crypt}*<br>
><br>
> *but when i try to use {md5} this dont work!*<br>
<br>
  You edited the configuration file and broke it.  Don't do that.<br>
<br>
> /rad_recv: Access-Request packet from host 127.0.0.1 port 34019, id=41,<br>
<div><div class="h5">> length=57<br>
> User-Name = "user3"<br>
> User-Password = "123"<br>
> NAS-IP-Address = 200.131.96.47<br>
> NAS-Port = 10<br>
> # Executing section authorize from file<br>
> /etc/freeradius/sites-enabled/default<br>
> +- entering group authorize {...}<br>
> [ldap] performing user authorization for user3<br>
> [ldap] expand: (uid=%u) -> (uid=user3)<br>
> [ldap] expand: dc=xxxxxxx,dc=edu,dc=br -> dc=xxxxxxx,dc=edu,dc=br<br>
> [ldap] ldap_get_conn: Checking Id: 0<br>
> [ldap] ldap_get_conn: Got Id: 0<br>
>   [ldap] performing search in dc=xxxxxxx,dc=edu,dc=br, with filter<br>
> (uid=user3)<br>
> [ldap] checking if remote access for user3 is allowed by uid<br>
> [ldap] Added MD5-Password = ICy5YqxZB1uWSwcVLSNLcA== in check items<br>
> [ldap] No default NMAS login sequence<br>
> [ldap] looking for check items in directory...<br>
> [ldap] userPassword -> Password-With-Header ==<br>
> "{MD5}ICy5YqxZB1uWSwcVLSNLcA=="<br>
> [ldap] looking for reply items in directory...<br>
> [ldap] user user3 authorized to use remote access<br>
> [ldap] ldap_release_conn: Release Id: 0<br>
> ++[ldap] returns ok<br>
<br>
</div></div>  So... "ldap" is pretty much the only module listed in the "authorize"<br>
section.<br>
<br>
  Why?  Just... why?  The comments at the top of the file you edited<br>
explain that butchering it is wrong.<br>
<div class="im"><br>
> ++[expiration] returns noop<br>
> ++[logintime] returns noop<br>
<br>
</div>  The "pap" module should be listed here.<br>
<div class="im"><br>
> ERROR: No authenticate method (Auth-Type) found for the request:<br>
> Rejecting the user<br>
<br>
</div>  Because you broke the default configuration.<br>
<div class="im"><br>
> sorry my poor english and if my doubt is too obvious, but i'm trying to<br>
> solve that have 3 days and nothing.<br>
<br>
</div>  You're working VERY HARD to destroy the default configuration.<br>
<br>
  If you plan on cooking a meal, you *don't* throw all of the food on<br>
the floor and stand on it.  You follow a recipe.<br>
<br>
  Throw away EVERYTHING you did.  It's wrong.<br>
<br>
  Then, configure the "ldap" module.<br>
<br>
  The uncomment references to "ldap" in raddb/sites-available/default.<br>
<br>
  It WILL WORK.<br>
<br>
  The entire problem here is that you're putting huge amounts of work<br>
into breaking the server, and then acting surprised that it's broken.<br>
You would have had this working 3 days ago if you had just followed the<br>
documentation.<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></div>