From: Alan T. DeKok Date: Fri, 17 Nov 2023 18:44:57 +0000 (-0500) Subject: move more functions to new syntax X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=897a8edf6a5f6621ebc4a92d1b4e6c127da26bb0;p=thirdparty%2Ffreeradius-server.git move more functions to new syntax --- diff --git a/src/tests/ldap_sync/rfc4533/config/radiusd.conf b/src/tests/ldap_sync/rfc4533/config/radiusd.conf index 142042feb36..2a5f2257702 100644 --- a/src/tests/ldap_sync/rfc4533/config/radiusd.conf +++ b/src/tests/ldap_sync/rfc4533/config/radiusd.conf @@ -181,7 +181,7 @@ server test { } load Cookie { - &control.Tmp-String-0 := "%{ldap:ldap:///%{LDAP-Sync.Directory-Root-DN}?contextCSN?base}" + &control.Tmp-String-0 := "%ldap("ldap:///%{LDAP-Sync.Directory-Root-DN}?contextCSN?base") if (&control.Tmp-String-0 != "") { &reply.LDAP-Sync.Cookie := "rid=000,csn=%{control.Tmp-String-0}" diff --git a/src/tests/modules/ldap/auth_ssl.unlang b/src/tests/modules/ldap/auth_ssl.unlang index 91b442426d6..b220b1fdee3 100644 --- a/src/tests/modules/ldap/auth_ssl.unlang +++ b/src/tests/modules/ldap/auth_ssl.unlang @@ -26,7 +26,7 @@ ldapssl.authenticate ldapssl.send -&Tmp-String-0 := "%{ldapssl:ldaps:///uid=fred,ou=people,dc=subdept,dc=example,dc=com?description}" +&Tmp-String-0 := %ldapssl("ldaps:///uid=fred,ou=people,dc=subdept,dc=example,dc=com?description") if (!(&Tmp-String-0 == "User %{User-Name} authenticated")) { test_fail diff --git a/src/tests/modules/ldap/auth_starttls.unlang b/src/tests/modules/ldap/auth_starttls.unlang index bdb8485fc82..d16769defc4 100644 --- a/src/tests/modules/ldap/auth_starttls.unlang +++ b/src/tests/modules/ldap/auth_starttls.unlang @@ -27,7 +27,7 @@ ldaptls.authenticate ldaptls.send -&Tmp-String-0 := "%{ldaptls:ldap:///uid=joe,ou=people,dc=subdept,dc=example,dc=com?description}" +&Tmp-String-0 := %ldaptls("ldap:///uid=joe,ou=people,dc=subdept,dc=example,dc=com?description") if (!(&Tmp-String-0 == "User %{User-Name} authenticated")) { test_fail