From: Alan T. DeKok Date: Fri, 15 Sep 2023 17:51:14 +0000 (-0400) Subject: force tmpl_tokenize_all_nested here, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f871673b9814854d97b05a54985d0756fa117543;p=thirdparty%2Ffreeradius-server.git force tmpl_tokenize_all_nested here, too --- diff --git a/src/tests/auth/chap_header b/src/tests/auth/chap_header index bfabd951af0..ec3e4507bed 100644 --- a/src/tests/auth/chap_header +++ b/src/tests/auth/chap_header @@ -1,13 +1,11 @@ # # over-ride password set in radiusd.conf # -&control -= { - &Password.Cleartext == 'hello' +&control.Password := { + &Cleartext = 'oracle01' } -&control.Password.With-Header := 'oracle01' - # # Set CHAP-Password # -&request.CHAP-Password := "%(chap.password:%{request.CHAP-Password})" +&request.CHAP-Password := %(chap.password:%{request.CHAP-Password}) diff --git a/src/tests/auth/unit_test_module.conf b/src/tests/auth/unit_test_module.conf index 4eaebaaacac..4e55db882eb 100644 --- a/src/tests/auth/unit_test_module.conf +++ b/src/tests/auth/unit_test_module.conf @@ -13,6 +13,10 @@ security { allow_vulnerable_openssl = yes } +migrate { + tmpl_tokenize_all_nested = true +} + modules { $INCLUDE ${raddb}/mods-enabled/always