re: Filtering in sites-enabled default file

2009-06-03 Thread Nick Sparkes
Hello, I was wandering if anyone can help me. I am trying to set up freeradius 2.1.x In the authorized section of default, we have the following coding: if(%{User-Name} =~ /?([...@]+)@?([-[:alnum:]._]*)?$/) { update request { Realm := %{2}

Re: Filtering in sites-enabled default file

2009-06-03 Thread A . L . M . Buxey
Hi, if(%{User-Name} =~ /?([...@]+)@?([-[:alnum:]._]*)?$/) { update request { Realm := %{2} } The staff login id is: ps...@worc.ac.uk Whereas the student login is in the format: psdn1...@worc.ac.uk Would it be possible to filter on the