Author: abartlet Date: 2007-04-26 09:32:26 +0000 (Thu, 26 Apr 2007) New Revision: 22523
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22523 Log: Give a hint why this test fails (helped debugging backend issues). 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-04-25 16:36:46 UTC (rev 22522) +++ branches/SAMBA_4_0/testprogs/ejs/ldap.js 2007-04-26 09:32:26 UTC (rev 22523) @@ -428,6 +428,9 @@ var attrs = new Array("cn"); var res = ldb.search("objectClass=crossRef", base_dn, ldb.SCOPE_SUBTREE, attrs); assert(res.error == 0); + if (res.msgs.length != 0) { + println("Got configuration DN " + res.msgs[0].dn + " which should not be able to be seen from main search base"); + } assert(res.msgs.length == 0); println("Testing that we can get at the configuration DN from the main search base on the LDAP port with the 'phantom root' search_options control");