title: How to configure FreeRADIUS with zimbra to enable 802.1x authentication using LDAP ?
body: <p>I used Zimbra for many year, and a few web application use Zimbra account via LDAP for authentication.</p>
  
  <p>Now I have a new wireless and I want to use Zimbra for authentications. I installed one new machine (opensuse) with freeradius and testing it (this is my first freeradius installation).</p>
  
  <p>From command line radtest (for LDAP username/password) return Access-Accept</p>
  
  <p>For wireless I used Ubquiti Unifi controller 3.1.10. When I start controller I get error on freeradius side:</p>
  
  <pre><code>ERROR: No authenitcation method (Auth-Type) found for the request: Rejecting the user
  </code></pre>
  
  <p>But, I did not send any user from unifi controller. I entered only ip-address, port and client security code</p>
  
  <p>OK, if I try to connect on wifi from my device, I get prompt for username/password, but on freeradius server I get error:</p>
  
  <pre><code>[mschap] No Cleartext-Password configured. Cannot create LM-Password.
  [mschap] No Cleartext-Password configured. Cannot create NT-Password.
  [mschap] Creating challenge hash with username: myusername
  [mschap] Told to do MS-CHAPv2 for myusername with NT-Password
  [mschap] FAILED: No NT/LM-Password. Cannot perform authentication.
  [mschap] FAILED: MS-CHAP2-Response is incorrect
  </code></pre>
  
  <p>I tried to create certificate but without success. However, I only want to use Zimbra accounts, I do not need any certificate.</p>
  
  <p>I tried to ask google for help, and read many documentation, but without success.</p>