summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/provision.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-20 02:32:23 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-20 02:46:57 +0200
commit94e06fe2032b0143939abd85044b5c3ccddefe70 (patch)
tree887f6600128d3e32de674e60e75ee74bd0262766 /source4/scripting/python/samba/provision.py
parentd3d7ff66d4a7952a50e7d9175528985358cb3522 (diff)
downloadsamba-94e06fe2032b0143939abd85044b5c3ccddefe70.tar.gz
samba-94e06fe2032b0143939abd85044b5c3ccddefe70.tar.xz
samba-94e06fe2032b0143939abd85044b5c3ccddefe70.zip
Some more formatting fixes, move schema related functions from Ldb to Schema.
Diffstat (limited to 'source4/scripting/python/samba/provision.py')
-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 873be6730d..ca62b6062f 100644
--- a/source4/scripting/python/samba/provision.py
+++ b/source4/scripting/python/samba/provision.py
@@ -976,7 +976,7 @@ def setup_samdb(path, setup_path, session_info, provision_backend, lp, names,
logger.info("Pre-loading the Samba 4 and AD schema")
# Load the schema from the one we computed earlier
- samdb.set_schema_from_ldb(schema.ldb)
+ samdb.set_schema(schema)
# And now we can connect to the DB - the schema won't be loaded from the DB
samdb.connect(path)