summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-04-26 09:32:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:51:37 -0500
commit78db3d4307761452ef58dea4584fe29799f76522 (patch)
tree6a966bc81a5fc22b2f7490791bd36ae0f3ece939
parentba6f0b0c4867a5b3901c4dd75ffb9347b3477f64 (diff)
downloadsamba-78db3d4307761452ef58dea4584fe29799f76522.tar.gz
samba-78db3d4307761452ef58dea4584fe29799f76522.tar.bz2
samba-78db3d4307761452ef58dea4584fe29799f76522.zip
r22523: Give a hint why this test fails (helped debugging backend issues).
Andrew Bartlett (This used to be commit f86d3b47850a9f3f773226807bbafd1830182c59)
-rwxr-xr-xtestprogs/ejs/ldap.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/testprogs/ejs/ldap.js b/testprogs/ejs/ldap.js
index 41442ce1ed..ecd50c3097 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");