summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorNadezhda Ivanova <nadezhda.ivanova@postpath.com>2010-01-13 15:16:38 +0200
committerNadezhda Ivanova <nadezhda.ivanova@postpath.com>2010-01-13 15:16:38 +0200
commita4eaa111342bfed4d31b9bffc60a1307e8a0d3c1 (patch)
treea7630f2d0ac787494ca5048440db13a68b27d9a0 /source4
parent026b23062eeee23dffeb627800b3cb6f55d89ad6 (diff)
downloadsamba-a4eaa111342bfed4d31b9bffc60a1307e8a0d3c1.tar.gz
samba-a4eaa111342bfed4d31b9bffc60a1307e8a0d3c1.tar.bz2
samba-a4eaa111342bfed4d31b9bffc60a1307e8a0d3c1.zip
Fixed a problem with incorrect default SD owner/group.
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/provision.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py
index a71b561a86..07de425370 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -945,7 +945,7 @@ def setup_samdb(path, setup_path, session_info, provision_backend, lp,
message("Reopening sam.ldb with new schema");
samdb.transaction_commit()
- samdb = Ldb(session_info=session_info,
+ samdb = Ldb(session_info=admin_session_info,
credentials=provision_backend.credentials, lp=lp)
samdb.connect(path)
samdb.transaction_start()