From: Arran Cudbard-Bell Date: Fri, 7 Dec 2018 00:39:47 +0000 (-0500) Subject: More & fixes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec34504271fddf4d6b87cba46ebf3ab69ed4fbae;p=thirdparty%2Ffreeradius-server.git More & fixes --- diff --git a/src/tests/modules/ldap/acct.unlang b/src/tests/modules/ldap/acct.unlang index 2297ea79f83..8e9cc465191 100644 --- a/src/tests/modules/ldap/acct.unlang +++ b/src/tests/modules/ldap/acct.unlang @@ -12,7 +12,7 @@ else { } update { - Tmp-String-0 := "%{ldap:ldap://$ENV{TEST_SERVER}/uid=john,ou=people,dc=example,dc=com?description}" + &Tmp-String-0 := "%{ldap:ldap://$ENV{TEST_SERVER}/uid=john,ou=people,dc=example,dc=com?description}" } if (&Tmp-String-0 != "User john is online") { diff --git a/src/tests/modules/ldap/auth.unlang b/src/tests/modules/ldap/auth.unlang index edf14bff563..5520e4616a3 100644 --- a/src/tests/modules/ldap/auth.unlang +++ b/src/tests/modules/ldap/auth.unlang @@ -61,7 +61,7 @@ if ("%{pairs:reply:}" == "") { ldap.post-auth update { - Tmp-String-0 := "%{ldap:ldap://$ENV{TEST_SERVER}/uid=john,ou=people,dc=example,dc=com?description}" + &Tmp-String-0 := "%{ldap:ldap://$ENV{TEST_SERVER}/uid=john,ou=people,dc=example,dc=com?description}" } if (&Tmp-String-0 != "User %{User-Name} authenticated") { diff --git a/src/tests/modules/ldap/groups_rfc2307bis.unlang b/src/tests/modules/ldap/groups_rfc2307bis.unlang index b8f48b5870f..516c11c742a 100644 --- a/src/tests/modules/ldap/groups_rfc2307bis.unlang +++ b/src/tests/modules/ldap/groups_rfc2307bis.unlang @@ -6,7 +6,7 @@ ldap # # Resolve using group name attribute # -if (LDAP-Group == 'foo') { +if (&LDAP-Group == 'foo') { test_pass } else { @@ -16,7 +16,7 @@ else { # # Resolve using group DN # -if (LDAP-Group == 'cn=foo,ou=groups,dc=example,dc=com') { +if (&LDAP-Group == 'cn=foo,ou=groups,dc=example,dc=com') { test_pass } else { diff --git a/src/tests/modules/ldap/map.unlang b/src/tests/modules/ldap/map.unlang index 1b934123e81..957210f141d 100644 --- a/src/tests/modules/ldap/map.unlang +++ b/src/tests/modules/ldap/map.unlang @@ -42,4 +42,4 @@ map ldap "ldap:///ou=profiles,dc=example,dc=com??sub?(objectClass=notARealObject # test_pass #} else { # test_fail -#} \ No newline at end of file +#}