]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More & fixes
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 7 Dec 2018 00:39:47 +0000 (19:39 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 7 Dec 2018 00:39:47 +0000 (19:39 -0500)
src/tests/modules/ldap/acct.unlang
src/tests/modules/ldap/auth.unlang
src/tests/modules/ldap/groups_rfc2307bis.unlang
src/tests/modules/ldap/map.unlang

index 2297ea79f834632ab30d612aec7ef07fadbbafd2..8e9cc465191ba40d2f355022a0f4a18ca4164455 100644 (file)
@@ -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") {
index edf14bff5638649ae4c0d61fc2a151ef09fbfef9..5520e4616a30bd7e819b6223c90a4558dc09047a 100644 (file)
@@ -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") {
index b8f48b5870f28aa2c168800d38f7b005ae5cb6cb..516c11c742a22c989294a9be6d37f4143195c5f9 100644 (file)
@@ -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 {
index 1b934123e8161a6efd964177367e747372079934..957210f141d9978a67c140e9d341a545c4f03bae 100644 (file)
@@ -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
+#}