]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
pap: Only look for passwords amongst non-vendor attributes (#4865)
authorTerry Burton <tez@terryburton.co.uk>
Thu, 26 Jan 2023 14:05:22 +0000 (14:05 +0000)
committerTerry Burton <tez@terryburton.co.uk>
Fri, 27 Jan 2023 16:57:39 +0000 (16:57 +0000)
commit7d3cbec02e46fc8f5c660451ce64597c8cd8c62a
tree24cd80e8e6ce8197794789d1f2974f423e737fad
parent879127817efd36ef1dc6994690cd99899bf2dae2
pap: Only look for passwords amongst non-vendor attributes (#4865)

Otherwise, the following will trigger a "Don't set
control:User-Password" warning:

VENDOR ABC 42
BEGIN-VENDOR ABC
ATTRIBUTE Not-A-Password 2 string
END-VENDOR ABC

update { &control:Not-A-Password := "x" }
pap
src/modules/rlm_pap/rlm_pap.c