Policy.conf - multiple @

Alan Buxey A.L.M.Buxey at lboro.ac.uk
Wed Nov 28 14:55:03 CET 2012


hi,

..theres also an error in v2.2 policy.conf

		#
                #  Realm begins with a dot
		#  e.g. "user at .site.com"
                #
                if (User-Name !~ /@\\./)  {
                        update reply {
                                Reply-Message+ = "Rejected: Realm begins with a dot"
                        }
                        reject
                }


MUST, in fact, be:

		#
                #  Realm begins with a dot
		#  e.g. "user at .site.com"
                #
                if (User-Name =~ /@\\./)  {
                        update reply {
                                Reply-Message += "Rejected: Realm begins with a dot"
                        }
                        reject
                }



alan


More information about the Freeradius-Users mailing list