remove blank space in realm

Rando Nakarmi randonakarmi at gmail.com
Tue Oct 28 14:57:10 CET 2014


how to I remove blanks from the realm ?

like, 'fiscal.edu '  after the edu

Login incorrect (Home Server says so): [fiscal at fiscal.edu /<no
User-Password attribute>

After adding this I get :

if ("%{request:User-Name}" =~ /^(.+)@(.+)\\s$/) {

update request {
                        Stripped-User-Name := "%{1}"
                        Realm := "%{2}"
                }
        }


Login incorrect (mschap: External script says Logon failure
(0xc000006d)): fiscal/<via Auth-Type = EAP>] (from client TLS tunnel)

i get / after username

still no luck!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20141028/d92d91fe/attachment.html>


More information about the Freeradius-Users mailing list