summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-11 19:33:52 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-04-11 19:33:52 +1000
commite44f0e7b75a15e61427a6520999d0d79b78e9d2a (patch)
tree32511a6683127520f2f8c67f0bb9d39e10260aa6 /source4
parenta1a3089199d9ad523e63148a5a2afcca8db39bdf (diff)
downloadsamba-e44f0e7b75a15e61427a6520999d0d79b78e9d2a.tar.gz
samba-e44f0e7b75a15e61427a6520999d0d79b78e9d2a.tar.bz2
samba-e44f0e7b75a15e61427a6520999d0d79b78e9d2a.zip
Don't reopen the sam.ldb again
Andrew Bartlett (This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index 4f264b6fc9..a8d188e7a3 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -741,8 +741,6 @@ def setup_samdb(path, setup_path, session_info, credentials, lp,
return samdb
message("Pre-loading the Samba 4 and AD schema")
- samdb = SamDB(path, session_info=session_info,
- credentials=credentials, lp=lp)
samdb.set_domain_sid(domainsid)
if serverrole == "domain controller":
samdb.set_invocation_id(invocationid)