policy filter_username

Maja Wolniewicz mgw at umk.pl
Thu Mar 5 14:32:52 CET 2015



W dniu 05.03.2015 o 14:26, Alan DeKok pisze:
> On Mar 5, 2015, at 8:24 AM, A.L.M.Buxey at lboro.ac.uk wrote:
>> nah, you have a problem with the new slash escape handling code in FreeRADIUS 3.0.7  ;-)
>    The default configuration is tested and works.
>
>    Edited configurations… may be different.
I'm using the default configuration.
          ....
         #
         #  reject double dots
         #  e.g. "user at site..com"
         #
         if (&User-Name =~ /\.\./ ) {
                 update reply {
                         &Reply-Message += 'Rejected: Username contains ..s'
                 }
                 reject
         }


Maja
>
>    Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
Maja Gorecka-Wolniewicz          mgw at umk.pl
Uczelniane Centrum               Information & Communication
Informatyczne                    Technology Centre
Uniwersytet Mikolaja Kopernika   Nicolaus Copernicus University
Coll. Maximum, pl. Rapackiego 1, 87-100 Torun, Poland
tel.: +48 56-611-27-40 fax: +48 56-622-18-50 tel. kom.: +48-693032574


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5278 bytes
Desc: Kryptograficzna sygnatura S/MIME
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20150305/cc927adf/attachment.bin>


More information about the Freeradius-Users mailing list