]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
force tmpl_tokenize_all_nested here, too
authorAlan T. DeKok <aland@freeradius.org>
Fri, 15 Sep 2023 17:51:14 +0000 (13:51 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 15 Sep 2023 18:00:45 +0000 (14:00 -0400)
src/tests/auth/chap_header
src/tests/auth/unit_test_module.conf

index bfabd951af0cb3b69eb05bcc6870a9fa849b8995..ec3e4507bed73fc00e2c96f3c9a5f8ad9c7ef830 100644 (file)
@@ -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})
index 4eaebaaacacdeb33a96237c768b76a0a0164020c..4e55db882eb2b1679edce1d6fae05db3d7db3caa 100644 (file)
@@ -13,6 +13,10 @@ security {
        allow_vulnerable_openssl = yes
 }
 
+migrate {
+       tmpl_tokenize_all_nested = true
+}
+
 modules {
        $INCLUDE ${raddb}/mods-enabled/always