1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00

Some more formatting fixes, move schema related functions from Ldb to Schema.

This commit is contained in:
Jelmer Vernooij
2010-06-20 02:32:23 +02:00
parent d3d7ff66d4
commit 94e06fe203
6 changed files with 36 additions and 39 deletions

View File

@@ -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)