svn commit: samba r11363 - in
branches/SAMBA_4_0/source/scripting/libjs: .
tridge at samba.org
tridge at samba.org
Fri Oct 28 07:00:56 GMT 2005
Author: tridge
Date: 2005-10-28 07:00:52 +0000 (Fri, 28 Oct 2005)
New Revision: 11363
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11363
Log:
fixed a problem with provisioning when hklm already exists (the
problem is really caused by hklm not having objectclass attributes on
its records, but this is a workaround)
Modified:
branches/SAMBA_4_0/source/scripting/libjs/provision.js
Changeset:
Modified: branches/SAMBA_4_0/source/scripting/libjs/provision.js
===================================================================
--- branches/SAMBA_4_0/source/scripting/libjs/provision.js 2005-10-28 06:51:44 UTC (rev 11362)
+++ branches/SAMBA_4_0/source/scripting/libjs/provision.js 2005-10-28 07:00:52 UTC (rev 11363)
@@ -157,7 +157,7 @@
for (i=0;i<res.length;i++) {
ldb.del(res[i].dn);
}
- res = ldb.search("(objectclass=*)", attrs);
+ res = ldb.search("(|(objectclass=*)(dn=*))", attrs);
if (res.length != 0) {
ldb_delete(ldb);
return;
@@ -165,7 +165,6 @@
assert(res.length == 0);
}
-
/*
setup a ldb in the private dir
*/
More information about the samba-cvs
mailing list