summaryrefslogtreecommitdiffstats
path: root/testprogs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-07-05 03:30:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:59:08 -0500
commitcc0756c3020ff4e1c7cc3f5945155b3375e9b608 (patch)
tree69b5bf628f3da146aa3f7a99ed8c604d5486866e /testprogs
parentf5778d5f9e2aadb026860a8441ab7475bfa490dd (diff)
downloadsamba-cc0756c3020ff4e1c7cc3f5945155b3375e9b608.tar.gz
samba-cc0756c3020ff4e1c7cc3f5945155b3375e9b608.tar.xz
samba-cc0756c3020ff4e1c7cc3f5945155b3375e9b608.zip
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)
Diffstat (limited to 'testprogs')
-rwxr-xr-xtestprogs/ejs/ldap.js2
1 files changed, 1 insertions, 1 deletions
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);