summaryrefslogtreecommitdiff
path: root/source4/scripting/bin/upgradeprovision
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2011-07-31 00:46:58 +0400
committerMatthieu Patou <mat@samba.org>2011-08-01 13:43:50 +0200
commit2d23dff49b353265e0c0f8ba5a62b95c2313e713 (patch)
tree2bc80263e8589b09ec0d64b6c65b2d1bc00a16fe /source4/scripting/bin/upgradeprovision
parentf72d56de5092a10d78798f233e29b23d62cc425a (diff)
downloadsamba-2d23dff49b353265e0c0f8ba5a62b95c2313e713.tar.gz
samba-2d23dff49b353265e0c0f8ba5a62b95c2313e713.tar.bz2
samba-2d23dff49b353265e0c0f8ba5a62b95c2313e713.zip
s4-upgradeprovision: try to fix the detection of @provision record
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Mon Aug 1 13:43:50 CEST 2011 on sn-devel-104
Diffstat (limited to 'source4/scripting/bin/upgradeprovision')
-rwxr-xr-xsource4/scripting/bin/upgradeprovision2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/bin/upgradeprovision b/source4/scripting/bin/upgradeprovision
index af97964713..0a3df32854 100755
--- a/source4/scripting/bin/upgradeprovision
+++ b/source4/scripting/bin/upgradeprovision
@@ -1348,7 +1348,7 @@ def rebuild_sd(samdb, names):
def hasATProvision(samdb):
entry = samdb.search(expression="dn=@PROVISION", base = "",
- scope=SCOPE_SUBTREE,
+ scope=SCOPE_BASE,
attrs=["dn"])
if entry != None and len(entry) == 1: