]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
update docs for new behavior
authorAlan T. DeKok <aland@freeradius.org>
Tue, 27 Apr 2021 13:57:43 +0000 (09:57 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 27 Apr 2021 21:02:24 +0000 (17:02 -0400)
man/man5/users.5

index 93f0526b6fa8b32d6b9a5411bc193c0c51a18b2a..73593fe54ae45759b2d970317b3862e88feecabb 100644 (file)
@@ -10,7 +10,7 @@
 .RE
 .sp
 ..
-.TH USERS 5 "04 Jan 2004" "" "FreeRADIUS user authorization file"
+.TH USERS 5 "27 Apr 2021" "" "FreeRADIUS user authorization file"
 .SH NAME
 users \- user authorization file for the FreeRADIUS server
 .SH DESCRIPTION
@@ -59,14 +59,6 @@ Care should be taken when using \fBFall-Through\fP.  The server should
 be tested in debugging mode with a number of test requests, in order
 to verify that the configured entries behave as expected.
 
-The special attribute \fBAuth-Type\fP is used to identify the
-authentication type to be used for that user.  See the
-\fBdictionary\fP file for a list of permitted values for the
-\fBAuth-Type\fP attribute.
-
-Once the \fBusers\fP file has been processed, the request is authenticated,
-using the method given by \fBAuth-Type\fP.
-
 .SH OPERATORS
 Additional operators other than \fB=\fP may be used for the attributes in
 either the check item, or reply item list.  The following is a list of
@@ -156,6 +148,19 @@ attribute, no matter what the value is.
 .br
 Not allowed as a reply item.
 
+.TP 0.5i
+.B "Attribute =~ /regex/"
+As a check item, it matches if the value of the regular expression
+matches the value of the attribute.
+.br
+Not allowed as a reply item.
+
+.TP 0.5i
+.B "Attribute !~ /regex/"
+As a check item, it matches if the value of the value of the regular expression
+does not  the value of the attribute.
+Not allowed as a reply item.
+
 .SH EXAMPLES
 
 .DS
@@ -168,18 +173,6 @@ authenticated using the "known good" password "hello".  There are no
 reply items, so the reply will be empty.
 .RE
 
-.DS
-DEFAULT        Auth-Type = System
-.br
-       Fall-Through = Yes
-
-.DE
-.RS
-For all users reaching this entry, perform authentication against the
-system, unless Auth-Type has already been set.  Also, process any
-following entries which may match.
-.RE
-
 .DS
 DEFAULT Service-Type == Framed-User, Framed-Protocol == PPP
 .br