git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f72d56d
)
s4-upgradeprovision: try to fix the detection of @provision record
author
Matthieu Patou
<mat@matws.net>
Sat, 30 Jul 2011 20:46:58 +0000
(
00:46
+0400)
committer
Matthieu Patou
<mat@samba.org>
Mon, 1 Aug 2011 11:43:50 +0000
(13:43 +0200)
Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Aug 1 13:43:50 CEST 2011 on sn-devel-104
source4/scripting/bin/upgradeprovision
patch
|
blob
|
history
diff --git
a/source4/scripting/bin/upgradeprovision
b/source4/scripting/bin/upgradeprovision
index af9796471389693e6b5dc5a97dba95bd2fa33843..0a3df32854968b3d03565f4bb0519de6f62256ce 100755
(executable)
--- 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_
SUBTRE
E,
+ scope=SCOPE_
BAS
E,
attrs=["dn"])
if entry != None and len(entry) == 1: