<div class="gmail_quote">I know I'm missing something obvious but I'm stuck here so I apologize in advance for the silly question.<br><br>I'm using freeradius 2.1.7.<br><br>I'm using the "files" option for all processes but I want to use user groups so I can reference them in my huntgroups definitions as groups of users permitted to authentication to that group of devices. I tried modifying the etc_group module and the group is correctly determined but it takes place after the huntgroup decision making process done by "preprocessing" so the match condition for the huntgroup fails. I then inserted the module before "preprocessing" in my sites-available/default file and the group is correctly determined prior to preprocessing but it doesn't seem to match the test condition. Snippets of config are below. Any guidance would be appreciated.<br>
<br>modules/My-Group-Name<br>-----<br>passwd My-Group-Name {<br> filename = /etc/raddb/group<br> format = "=My-Group-Name:*,User-Name"<br> hashsize = 50<br> ignorenislike = yes<br> allowmultiplekeys = yes<br>
delimiter = ":"<br>}<br>-----<br><br>dictionary<br>-----<br>ATTRIBUTE My-Group-Name 3000 string<br>-----<br><br>group<br>-----<br>telecom:test1<br>hg1admin:test2<br><br>huntgroups<br>-----<br>hg1 NAS-IP-Address =~ "^10\.69\.1\..*"<br>
My-Group-Name == telecom,<br> My-Group-Name == hg1admin,<br>-----<br><br>users<br>-----<br>test1 Cleartext-Password := "password1"<br>test2 Cleartext-Password := "password2"<br>-----<br>
<br>I've inserted the My-Group-Name module at various locations within sites-available/default with no luck. Again, ant guidance would be appreciated.<br><br><br>
</div><br>