Now that we have Cleartext-Password and Password-With-Header, use
authoraland <aland>
Tue, 15 Aug 2006 20:46:48 +0000 (20:46 +0000)
committeraland <aland>
Tue, 15 Aug 2006 20:46:48 +0000 (20:46 +0000)
commit1211f8431c31a20b6801c3fcc66ddf9ea4dfde15
treefe5a434ebfe9b21edf029d6a4e97a332095890b9
parentf2baf7c30d23de81f76e9341cd2274d89c6c9b4a
Now that we have Cleartext-Password and Password-With-Header, use
them.  i.e.

Move PW_PASSWORD to PW_USER_PASSWORD if it's looking in the request
Move PW_PASSWORD to PW_CLEARTEXT_PASSWORD if it's in the config items
Move PW_USER_PASSWORD to PW_CLEARTEXT_PASSWORD if in config items

Update messages that complain about "known good" password from
User-Password to Cleartext-Password

Update auth.c to rewrite User-Password in config items to
Cleartext-Password, and to print out a big warning message.

Update rlm_pap to use Password-With-Header, but to still accept
User-Password in config items for the same thing, and then delete
User-Password if it had a header.

Still need to update ldap configuration.
23 files changed:
doc/ChangeLog
src/lib/valuepair.c
src/main/auth.c
src/main/radclient.c
src/main/valuepair.c
src/main/xlat.c
src/modules/rlm_attr_rewrite/rlm_attr_rewrite.c
src/modules/rlm_chap/rlm_chap.c
src/modules/rlm_cram/rlm_cram.c
src/modules/rlm_detail/rlm_detail.c
src/modules/rlm_digest/rlm_digest.c
src/modules/rlm_eap/radeapclient.c
src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
src/modules/rlm_eap/types/rlm_eap_leap/rlm_eap_leap.c
src/modules/rlm_eap/types/rlm_eap_md5/rlm_eap_md5.c
src/modules/rlm_eap/types/rlm_eap_mschapv2/rlm_eap_mschapv2.c
src/modules/rlm_eap/types/rlm_eap_ttls/ttls.c
src/modules/rlm_krb5/rlm_krb5.c
src/modules/rlm_ldap/rlm_ldap.c
src/modules/rlm_mschap/rlm_mschap.c
src/modules/rlm_pam/rlm_pam.c
src/modules/rlm_pap/rlm_pap.c
src/modules/rlm_smb/rlm_smb.c