mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
s4-python: Start using standard python logging infrastructure rather
than simple messaging callbacks.
This commit is contained in:
@ -17,6 +17,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
from samba.auth import system_session
|
||||
import logging
|
||||
import os
|
||||
from samba.provision import setup_samdb, guess_names, make_smbconf, find_setup_dir
|
||||
from samba.tests import TestCaseInTempDir
|
||||
@ -78,7 +79,7 @@ class SamDBTestCase(TestCaseInTempDir):
|
||||
|
||||
self.samdb = setup_samdb(path, self.setup_path, session_info, provision_backend,
|
||||
self.lp, names,
|
||||
lambda x: None, domainsid,
|
||||
logging.getLogger("samdb"), domainsid,
|
||||
domainguid,
|
||||
policyguid, False, "secret",
|
||||
"secret", "secret", invocationid,
|
||||
|
Reference in New Issue
Block a user