From a4eaa111342bfed4d31b9bffc60a1307e8a0d3c1 Mon Sep 17 00:00:00 2001 From: Nadezhda Ivanova Date: Wed, 13 Jan 2010 15:16:38 +0200 Subject: Fixed a problem with incorrect default SD owner/group. --- source4/scripting/python/samba/provision.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/python') 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() -- cgit