This parameter should be set if and only if your AuthSelect
statement will return a bare Unix encrypted password, and you are not
using AuthColumnDef. Encrypted passwords cannot be used with CHAP or
MSCHAP authentication. If the encrypted password column for a user is NULL
in the database, then any password will be accepted for that user. If the
encrypted password column for a user is set to the empty string (as
opposed to NULL), then no password will be accepted for that
user.
EncryptedPassword is a hint to Radiator about how to deal with
passwords that have no explicit password type prefix. If EncryptedPassword
is not set, bare passwords (i.e. without a prefix) are treated as
plaintext passwords. If EncryptedPassword is set, they are treated as a
Unix crypt password. If a password has a prefix, then the password will be
interpreted according to that type of password, independent of the setting
of EncryptedPassword. For more information, see Section 7.1.1.
Note
This
parameter is ignored if you have defined your own AuthSelect column
definitions with AuthColumnDef.
# unix Encrypted password are in CRYPTPW
AuthSelect select CRYPTPW from USERS where N = %0
EncryptedPassword