title: Expected Access-Accept got Access-Reject in FreeRadius tutorial
body: <p>I want to mount a FreeRADIUS server for create an Enterprise WiFi and I have problems with the <a href="http://wiki.freeradius.org/guide/Basic-configuration-HOWTO" rel="nofollow noreferrer">official tutorial</a>. I tried <a href="https://me.m01.eu/blog/2012/05/wpa-2-enterprise-from-scratch-on-a-raspberry-pi/" rel="nofollow noreferrer">WPA 2 Enterprise from scratch using a Raspberry Pi</a> and <a href="https://www.linuxquestions.org/questions/linux-security-4/freeradius-server-installation-and-configuration-on-linux-system-855741/" rel="nofollow noreferrer">FreeRadius Server installation and configuration on Linux system</a> without success.
  I have trouble when I try to perform the test <code>radtest -x testing password localhost 0 testing123</code>. The server response is:</p>
  
  <pre><code>Sent Access-Request Id 86 from 0.0.0.0:35959 to 127.0.0.1:1812 length 77
      User-Name = "testing"
      User-Password = "password"
      NAS-IP-Address = 172.18.0.2
      NAS-Port = 0
      Message-Authenticator = 0x00
      Cleartext-Password = "password"
  Received Access-Reject Id 86 from 127.0.0.1:1812 to 127.0.0.1:35959 length 20
  (0) -: Expected Access-Accept got Access-Reject
  </code></pre>
  
  <p>I'm mounting the server inside a Docker Container, which Dockerfile is:</p>
  
  <pre><code>FROM base/archlinux
  
  RUN pacman -Syyu; pacman -S freeradius make inetutils --noconfirm
  
  EXPOSE 1812
  EXPOSE 1813
  
  # Archlinux is not installig freeradius on /etc/raddb but when I launch
  # the server, the main proccess looks at that directorie
  RUN cp -r /etc/raddb.default /etc/raddb
  
  RUN sed -i '1 i\testing Cleartext-Password := password' /etc/raddb/users
  
  ENTRYPOINT [ "radiusd", "-X" ]
  </code></pre>
  
  <p>To run the docker container:</p>
  
  <p><code>docker build -t freeradius .</code></p>
  
  <p><code>docker run freeradius</code></p>
  
  <p>And launch the test:</p>
  
  <p><code>docker exec container_id radtest -x testing password localhost 0 testing123</code></p>
  
  <p>Could anyone help me please?
  Regards</p>