summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-02-23 10:04:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:48 -0500
commit28884a1cab5da9be8af9721badf65f1a236fd1e9 (patch)
tree789122e2e972e0206119c2f3fb8ad771fb34b2e5 /source4/scripting
parent89e28a0ec8e3a76e712946fd0313e7dfcc969402 (diff)
downloadsamba-28884a1cab5da9be8af9721badf65f1a236fd1e9.tar.gz
samba-28884a1cab5da9be8af9721badf65f1a236fd1e9.tar.bz2
samba-28884a1cab5da9be8af9721badf65f1a236fd1e9.zip
r21513: I don't know how long this has been wrong, but fix this up so we can
re-provision (as is required for the TEST_LDAP=yes version of make test). Andrew Bartlett (This used to be commit ea4c2ea22fb3975d80130f52edecaf6d1790adde)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/libjs/provision.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/libjs/provision.js b/source4/scripting/libjs/provision.js
index b50e9b5bcf..9340d43ed9 100644
--- a/source4/scripting/libjs/provision.js
+++ b/source4/scripting/libjs/provision.js
@@ -177,7 +177,7 @@ function ldb_erase(ldb)
return;
}
for (i=0;i<res.msgs.length;i++) {
- ldb.del(res[i].dn);
+ ldb.del(res.msgs[i].dn);
}
var res = ldb.search("(&(|(objectclass=*)(dn=*))(!(dn=@BASEINFO)))", basedn, ldb.SCOPE_SUBTREE, attrs);