You can create groups for use in users file by using passwd module. Have a look at explanations in radiusd.conf and man pages. You could then assign tunnel attributes with DEFAULT entries in users file checking Group-Name. Ivan Kalik Kalik Informatika ISP Dana 15/5/2008, "MONTFORD, AUSTIN" <AMONTFOR@uscb.edu> piše:
Hey, I just got this working on a test server finally using the users file and have a quick question. I was wondering is there a way where I don't have to type the last 3 lines of this everytime in my users file? I was thinking of using some kind of setup with a seperate file for each vlan containing only the first statement (with the mac address as the user/pass). Then $include each vlanfile in the users file with freeradius appending the correct tunnel statements depending on what vlanfile the mac address was in. Anyways I haven't quite wrapped my head around the syntax to do this or am sure this is the best way. If someone has any advice that would be great.
123400000000 Cleartext-Password := "123400000000" Tunnel-Type = "VLAN", Tunnel-Medium-Type = "IEEE-802" Tunnel-Private-Group-Id = "Students"
By the way Freeradius rocks!
Thanks, Austin