<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><font face="Arial" class="">Hi</font><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">I am new using freeradius.<br class=""></font><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">I am trying to configure freeradius to authenticate with LDAP and it is working well. Also I want to use a local user in the users file to use from network manager server but this user must be authenticated in local and don´t go to the LDAP. </font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">This is my configuration:</font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">/etc/raddb/sites-available/default</font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">authorize {<span class="Apple-tab-span" style="white-space: pre;"> </span></font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">preprocess</font></div><div class=""><font face="Arial" class="">chap</font></div><div class=""><font face="Arial" class="">mschap</font></div><div class=""><font face="Arial" class="">digest</font></div><div class=""><font face="Arial" class="">files</font></div><div class=""><font face="Arial" class="">ldap</font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">}</font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">/etc/raddb/users</font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">admin Cleartext-Password := ¨setup¨</font></div><div class=""><font face="Arial" class="">DEFAULT LDAP-GROUP == ¨Network-monitor”</font></div><div class=""><font face="Arial" class="">DEFAULT <span class="Apple-tab-span" style="white-space: pre;"> </span>Auth-Type = Local</font></div><div class=""><font face="Arial" class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>Fall-Through = yes</font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">With this configuration always is working LDAP, if you do a debug using the local user I can see:</font></div><div class=""><font face="Arial" class=""><br class=""></font></div><div class=""><font face="Arial" class="">- [ files <font class="">] returns ok</font></font></div><div class=""><font class="" face="Arial">- Now start again LDAP ?? …. WARNING: Auth-Type already set. Not setting to PAP</font></div><div class=""><font class="" face="Arial"> Failed to authenticate the user</font></div><div class=""><font class="" face="Arial"><br class=""></font></div><div class=""><font class="" face="Arial">I don’t know why it trying using LDAP. Please, would you mind the simplest way to have a local user and LDAP working. If it is the local user don´t use LDAP or if LDAP not found the user user local file.</font></div><div class=""><font class="" face="Arial"><br class=""></font></div><div class=""><font class="" face="Arial">Regards</font></div><div class=""><font size="2" class=""><br class=""></font></div></div><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><b style="color: rgb(34, 34, 34); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);" class=""><b class=""><font color="#0000ff" class="">Manuel Izquierdo Calvo</font></b></b></div><div class=""><span style="color: rgb(0, 0, 255); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);" class=""><i class="">Senior Technical Specialist</i></span><span style="color: rgb(0, 0, 255); font-family: arial; font-size: small; background-color: rgb(255, 255, 255);" class=""><div class="">Mail:<b class=""> <a href="mailto:mizq14@gmail.com" target="_blank" style="color: rgb(17, 85, 204);" class="">mizq14@gmail.com</a></b></div></span><div style="font-family: arial; font-size: small; background-color: rgb(255, 255, 255);" class=""><font class=""><span style="color: rgb(0, 0, 255);" class="">Mob:</span><font color="#222222" style="font-weight: bold;" class=""> </font><font color="#354ace" class="">+ 61 431 452 049</font></font></div></div></div></div></div></div></div></div>
</div>
<br class=""></body></html>