From 4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 8 Apr 2010 15:08:27 +0200 Subject: s4-python: samdb: Default to using global schema. --- source4/scripting/python/samba/samdb.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4/scripting') diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index 5d20359690..0dcea72ad7 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -25,7 +25,6 @@ import dsdb import samba -import glue import ldb from samba.idmap import IDmapDB import pwd @@ -38,7 +37,7 @@ class SamDB(samba.Ldb): """The SAM database.""" def __init__(self, url=None, lp=None, modules_dir=None, session_info=None, - credentials=None, flags=0, options=None, global_schema=False): + credentials=None, flags=0, options=None, global_schema=True): self.lp = lp if url is None: url = lp.get("sam database") -- cgit