"Internal sanity check failed" After adding second Home Server

Alberto Martínez alberto_martinez at deusto.es
Wed Feb 29 16:27:47 CET 2012


"""Within POSIX bracket expressions, the dot character matches a literal
dot. For example, a.c matches "*abc*", etc., but [a.c] matches only "*a*", "
*.*", or "*c*"."""

My bad.

2012/2/29 Alberto Martínez <alberto_martinez at deusto.es>

> if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]._]*)?$/) {
>>
>
> I'm not that good with POSIX regex, but shouldn't it be
>
> if("%{User-Name}" =~ /\\\\?([^@\\\\]+)@?([-[:alnum:]\._]*)?$/) {
>
> AFAIK the dot "." means "any char" so I think it needs to be escaped.
>



-- 
Alberto Martínez Setién
Servicio Informático
Universidad de Deusto
Avda. de las Universidades, 24
48007 - Bilbao (SPAIN)
Phone:  +34 - 94 413 90 00 Ext 2684
Fax:    +34 - 94 413 91 01
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120229/1dd12f6e/attachment.html>


More information about the Freeradius-Users mailing list