1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
# # Run the "ldap" module # PRE: auth # ldap.accounting { } if (ok) { test_pass } else { test_fail } update { 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") { test_fail } else { test_pass }