1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

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)
This commit is contained in:
Andrew Bartlett 2007-07-05 03:30:46 +00:00 committed by Gerald (Jerry) Carter
parent f5778d5f9e
commit cc0756c302

View File

@ -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);