1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-25 00:59:11 +03:00

s4-python: samdb: Default to using global schema.

This commit is contained in:
Jelmer Vernooij
2010-04-08 15:08:27 +02:00
parent 5d5fc92c69
commit 4f2d8d6ace

View File

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