mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
Use created loadparm context, rather than the one specified on the command-line.
This commit is contained in:
parent
be9a4157f0
commit
7048e75aee
@ -21,7 +21,7 @@ from samba.credentials import Credentials
|
||||
import os
|
||||
from samba.provision import setup_samdb, guess_names, setup_templatesdb, make_smbconf, find_setup_dir
|
||||
from samba.samdb import SamDB
|
||||
from samba.tests import cmdline_loadparm, TestCaseInTempDir
|
||||
from samba.tests import TestCaseInTempDir
|
||||
from samba.dcerpc import security
|
||||
from unittest import TestCase
|
||||
import uuid
|
||||
@ -69,7 +69,7 @@ class SamDBTestCase(TestCaseInTempDir):
|
||||
self.setup_path, session_info=session_info,
|
||||
credentials=creds, lp=self.lp)
|
||||
self.samdb = setup_samdb(path, self.setup_path, session_info, creds,
|
||||
cmdline_loadparm, names,
|
||||
self.lp, names,
|
||||
lambda x: None, domainsid,
|
||||
"# no aci", domainguid,
|
||||
policyguid, False, "secret",
|
||||
|
Loading…
x
Reference in New Issue
Block a user