svn commit: samba r23719 - in branches/SAMBA_4_0/testprogs/ejs: .

abartlet at samba.org abartlet at samba.org
Thu Jul 5 03:30:50 GMT 2007


Author: abartlet
Date: 2007-07-05 03:30:46 +0000 (Thu, 05 Jul 2007)
New Revision: 23719

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=23719

Log:
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

Modified:
   branches/SAMBA_4_0/testprogs/ejs/ldap.js


Changeset:
Modified: branches/SAMBA_4_0/testprogs/ejs/ldap.js
===================================================================
--- branches/SAMBA_4_0/testprogs/ejs/ldap.js	2007-07-05 03:06:59 UTC (rev 23718)
+++ branches/SAMBA_4_0/testprogs/ejs/ldap.js	2007-07-05 03:30:46 UTC (rev 23719)
@@ -491,7 +491,7 @@
 	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);



More information about the samba-cvs mailing list