Migrating from Mikrotik NAS to FreeBSD

Stefan Paetow Stefan.Paetow at jisc.ac.uk
Wed Jul 22 01:28:42 CEST 2015


>>Can you send both sets of attributes in each response?
>
>Yes, i think so. I suppose, mpd will just ignore what is not valid.

That would be the easiest bet, yes. Is that also the case for the Mikrotik
NAS?

>Yes, i think it would be possible to add a nas type, like mikrotik, mpd,
>etc.

There are only limited types of nastype you can set. You could use the
short name instead.

>Do you have an example how it could be done using unlang?

But either way, you can use this kind of unlang:

if ("%{client:shortname}" == 'mikrotik-15') {
{
	update reply {
		# strip the non-Mikrotik attributes
	}
}


With Regards

Stefan Paetow
Moonshot Industry & Research Liaison Coordinator

t: +44 (0)1235 822 125
gpg: 0x3FCE5142
xmpp: stefanp at jabber.dev.ja.net
skype: stefan.paetow.janet

jisc.ac.uk

Jisc is a registered charity (number 1149740) and a company limited by
guarantee which is registered in England under Company No. 5747339, VAT
No. GB 197 0632 86. JiscĀ¹s registered office is: One Castlepark, Tower
Hill, Bristol, BS2 0JA. T 0203 697 5800.

Jisc Collections and Janet Ltd. is a wholly owned Jisc subsidiary and a
company limited by guarantee which is registered in England under Company
No. number 2881024, VAT No. GB 197 0632 86. The registered office is:
Lumen House, Library Avenue, Harwell, Didcot, Oxfordshire, OX11 0SG. T
01235 822200.





>




More information about the Freeradius-Users mailing list