rlm_chap
Synopsis
This module performs CHAP authentication.
Processing Sections
authorize
When listed in the authorize
section, the chap
module looks for a
CHAP-Password
attribute in the request. If the attribute exists,
and Auth-Type
is not already set, the module sets Auth-Type :=
CHAP
.
- Return codes
-
=== authenticate
When listed in the authenticate
section, the chap
module performs
CHAP authentication.
- Return codes
-
invalid
The CHAP module was called for a request that did not contain aCHAP-Password
attribute, or theCHAP-Password
attribute was malformed. -
fail
ACleartext-Password
was not supplied for the user. -
reject
TheCHAP-Password
in the request does not match the one calculated from theCleartext-Password
. -
ok
TheCHAP-Password
in the request matches the one calculated from theCleartext-Password
, and the user was successfully authenticated.
Expansions
None.
Directives
None.