title: returning custom user attributes in the radius reply
body: <p>I am using (and enjoying) Freeradius v3 and I have been beating my head against something I am sure the community has already figured out.</p>
  
  <p>I have a custom user attribute defined in the dictionary and included in my authorize file:</p>
  
  <pre><code>me Mygroup :="usergroup", Cleartext-Password := "password1234"
  </code></pre>
  
  <p>...and I am able to update the reply from the radius server by adding the following to the default site (/etc/freeradius/3.0/sites-available/default)</p>
  
  <pre><code>    update reply {
              Reply-Message := "additional info"
      }
  </code></pre>
  
  <p>Running a simple radtest from the command line: </p>
  
  <pre><code>radtest me password1234 192.168.x.x 0 $secret   
  </code></pre>
  
  <p>...gives me the following:</p>
  
  <pre><code>Sent Access-Request Id 204 from 0.0.0.0:38090 to 192.168.2.161:1812 length 77
      User-Name = "me"
      User-Password = "password1234"
      NAS-IP-Address = 192.168.x.x
      NAS-Port = 0
      Message-Authenticator = 0x00
      Cleartext-Password = "password1234"
  Received Access-Accept Id 204 from 192.168.x.x:1812 to 0.0.0.0:0 length 53
      Reply-Message = "additional info"
  </code></pre>
  
  <p>What variable, command line switch or other should I include to get the "Mygroup" information in the "additional info" section?</p>
  
  <p>I am not trying to boil an ocean, I know there are some pretty involved group/huntgroup/permission configurations for freeradius but all I need is that data in the Reply-Message.</p>
  
  <p>Thanks!</p>