Correct RegEX format for virtual server in proxy.conf

Sallee, Stephen (Jake) Jake.Sallee at umhb.edu
Tue May 17 16:39:14 CEST 2011


I am trying to follow the excellent instructions in the proxy.conf file for setting up a virtual server using realms, however I keep getting an error when I try to start radisud -X telling me that the regex is invalid... here is my realm decleration, what am I doing wrong?

realm "~*\\.cru$" {
}
realm "~*\\.cru\\.umhb\\.edu$" {
}
realm "~*\\.umhb$" {
}
realm "~*\\.umhb\\.edu$" {
}


I know the realms are blank at this time so they do effectively nothing, but one step at a time : )

And here is the error from startup:

realm LOCAL {
}
realm ~*\.cru$ {
/etc/raddb/proxy.conf[676]: Invalid regex in realm "~*\.cru$"
} # realm ~*\.cru$

Jake Sallee
Godfather of Bandwidth
Network Engineer
University of Mary Hardin-Baylor
900 College St.
Belton, Texas
76513
Fone: 254-295-4658
Phax: 254-295-4221

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110517/ad86086c/attachment.html>


More information about the Freeradius-Users mailing list