Rejected: Realm does not have at least one dot separator

Adam Bishop Adam.Bishop at jisc.ac.uk
Sat Jun 27 17:41:53 CEST 2015


On 26 Jun 2015, at 17:03, Mohamed Lrhazi <Mohamed.Lrhazi at georgetown.edu> wrote:
> Username does have a dot in the realm... but the expression somehow fails…

You haven’t provided enough information to confirm (full debug log when asking for assistance please!), but I can make an educated guess - if it’s not correct, please post a full debug log from both your old and new servers.

Your old system is running 3.0.4?

A change was made to FreeRADIUS 3.0.5 regarding how it handles forward slashes in regexps. See ‘correct escapes’ in radiusd.conf:
  https://github.com/FreeRADIUS/freeradius-server/blob/fb0f8f94e774eb03e98ce9b59b92598bccc2f37a/raddb/radiusd.conf.in#L122-L140

If you’re porting your old configuration forward, you need to make sure that correct_escapes is set to the behaviour you want in your version of radiusd.conf, and that the regexps in your config files agree with that setting.

It looks like the files (policy.d/filter) are default ones too, so it’s probably easiest to set correct_escapes to true and restore the contents of that file to the default.

This may make upgrades easier in future, too:
  http://wiki.freeradius.org/guide/Git-config-management

Regards,

Adam Bishop

  gpg: 0x6609D460

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 Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.  



More information about the Freeradius-Users mailing list