r23719: ejs being case sensitive, while LDAP is not is a real pain when
authorAndrew Bartlett <abartlet@samba.org>
Thu, 5 Jul 2007 03:30:46 +0000 (03:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:59:08 +0000 (14:59 -0500)
dereferencing attributes.

Fix the case to match between the attributes searched for and the ejs
element.  (Fixes LDAP-backend selftest)

Andrew Bartlett

testprogs/ejs/ldap.js

index 7ea66a7998f3f40c024e415223094326905df094..6cb7f2ce7f6cf199103a20bcf315dffe9a3c74e1 100755 (executable)
@@ -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);