to create the USERS file like you posted above you can do the following - I suppose that there are no other entries in the users file:
- FreeRADIUS => Users => Add a user (+)
- Set any username and set any password (because this are requiered fields) and the scroll down to "Additional RADIUS Attributes on the TOP of this entry" and paste the following code. Take attention: If you miss whitespaces or something the syntax will be incorrect and radiusd will not start.
DEFAULT Group == "hotspot", Simultaneous-Use := 4| Fall-Through = 1|DEFAULT Simultaneous-Use := 1| Fall-Through = 1|DEFAULT Framed-Protocol == PPP| Framed-Protocol = PPP,| Framed-Compression = Van-Jacobson-TCP-IP|DEFAULT Hint == "CSLIP"| Framed-Protocol = SLIP,| Framed-Compression = Van-Jacobson-TCP-IP|DEFAULT Hint == "SLIP"| Framed-Protocol = SLIP
That's it for users file.
please take attention: in users file "hotspot" is all small letters, your old ldap config has a capital letter at first, your new has two capital letters. don't know if this is case sensitive or not.
The following is not present in your old config so you should probably set this in the GUI to "no". But test with both/mixed.
- Compare Check Items
- Do XLAT
- Access Attribute Used For Allow
the last thing is:
please replace the line 1200 in freeradius.inc like I posted before - the click "save" on FreeRADIUS => LDAP again to write the changes to the ldap file.
Now we should have your config like it was on your old debian server - hopefully it will work. :-)
Then we only have to find a way around your "unlang" part and solve this with users file - if possible.