User-Password and regular expression problem

Alan DeKok aland at deployingradius.com
Thu Aug 24 17:39:03 CEST 2006


"V.Kukushkin" <vlkukushkin at yandex.ru> wrote:
> I want to disable login users with empty passwords
> So, the entry in my "users" file is:
> ---------------------------------
> DEFAULT User-Password !~ "^$"

  Why use regular expressions?  Why not just

DEFAULT User-Password == "", Auth-Type := Reject

  However, this doesn't work for a number of reasons.

  This will be fixed in 2.0, when it is released this fall.

  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list