From f86d3b47850a9f3f773226807bbafd1830182c59 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 26 Apr 2007 09:32:26 +0000 Subject: [PATCH] r22523: Give a hint why this test fails (helped debugging backend issues). Andrew Bartlett --- testprogs/ejs/ldap.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js index 41442ce1ed1..ecd50c3097b 100755 --- a/testprogs/ejs/ldap.js +++ b/testprogs/ejs/ldap.js @@ -428,6 +428,9 @@ objectClass: user 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"); -- 2.11.4.GIT