summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-04-08 15:08:27 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-04-08 23:20:35 +0200
commit4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45 (patch)
tree46c69eeb7c5029982401b103481b8bf289578a1a
parent5d5fc92c6942d0d2a03dfdf0c8fd17b575bae608 (diff)
downloadsamba-4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45.tar.gz
samba-4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45.tar.bz2
samba-4f2d8d6ace81c03fb0ff181ccfb0f3c2e02e2c45.zip
s4-python: samdb: Default to using global schema.
-rw-r--r--source4/scripting/python/samba/samdb.py3
1 files changed, 1 insertions, 2 deletions
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")