5 # A simple value checking module
7 # As of 2.0, much of the functionality of this module is in "unlang".
8 # You should probably investigate using that before trying to use
9 # the "checkval" module.
11 # It can be used to check if an attribute value in the request
12 # matches a (possibly multi valued) attribute in the check
13 # items This can be used for example for caller-id
14 # authentication. For the module to run, both the request
15 # attribute and the check items attribute must exist
18 # A user has an ldap entry with 2 radiusCallingStationId
19 # attributes with values "12345678" and "12345679". If we
20 # enable rlm_checkval, then any request which contains a
21 # Calling-Station-Id with one of those two values will be
22 # accepted. Requests with other values for
23 # Calling-Station-Id will be rejected.
25 # Regular expressions in the check attribute value are allowed
26 # as long as the operator is '=~'
29 # The attribute to look for in the request
30 item-name = Calling-Station-Id
32 # The attribute to look for in check items. Can be multi valued
33 check-name = Calling-Station-Id
35 # The data type. Can be
36 # string,integer,ipaddr,date,abinary,octets
39 # If set to yes and we dont find the item-name attribute in the
40 # request then we send back a reject