From cc0756c3020ff4e1c7cc3f5945155b3375e9b608 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 5 Jul 2007 03:30:46 +0000 Subject: r23719: ejs being case sensitive, while LDAP is not is a real pain when dereferencing attributes. Fix the case to match between the attributes searched for and the ejs element. (Fixes LDAP-backend selftest) Andrew Bartlett (This used to be commit 51cf66bb96e5a58693a40d920d78632ac442ca1c) --- testprogs/ejs/ldap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'testprogs') diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js index 7ea66a7998..6cb7f2ce7f 100755 --- a/testprogs/ejs/ldap.js +++ b/testprogs/ejs/ldap.js @@ -491,7 +491,7 @@ objectClass: user assert(res.msgs.length != 0); println("Testing objectClass attribute order on "+ base_dn); - var attrs = new Array("objectclass"); + var attrs = new Array("objectClass"); var res = ldb.search("objectClass=domain", base_dn, ldb.SCOPE_BASE, attrs); assert(res.error == 0); assert(res.msgs.length == 1); -- cgit