mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
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
This commit is contained in:
parent
f72d56de50
commit
2d23dff49b
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user